杜郎俊赏 - dujun.io

开源实例之Gostatic

前言

Gostatic is a static site generator. It tracks file changes during compilation, which is why it works reasonably fast. Also it provides framework for configuration akin to Make, which makes it easy to understand and to write custom configurations.

Gostatic 是 Go 语言开发的静态网站生成器。

实例地址

http://gostatic.dujun.eu.org

实例配置

配置描述
系统Debian
开发环境服务端Go 1.20
服务器Nginx
程序Gostatic 2.36
数据solovyov.net

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Go
  • 已安装 Nginx

安装程序

程序仓库:https://github.com/piranha/gostatic
数据仓库:https://github.com/piranha/solovyov.net

#克隆代码
git clone https://github.com/piranha/solovyov.net.git blog
cd blog

#安装依赖并生成静态文件
make

实例体验

首页

文章页

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人开源实例 静态博客开源实例 Go开源实例
日期:2023-07-01