{"id":19039854,"url":"https://github.com/johnlui/go_static","last_synced_at":"2025-04-23T20:48:54.927Z","repository":{"id":77521863,"uuid":"14820528","full_name":"johnlui/go_static","owner":"johnlui","description":"A simple static tool for any single page with golang, also can be used in Emlog platform for the whole website. 使用Go语言编写的跨平台的网站首页静态化工具[也适用于emlog整站(首页+文章+页面)静态化]","archived":false,"fork":false,"pushed_at":"2014-09-11T16:16:53.000Z","size":191,"stargazers_count":27,"open_issues_count":0,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-18T05:53:53.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnlui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-30T12:21:11.000Z","updated_at":"2025-04-01T08:36:05.000Z","dependencies_parsed_at":"2023-02-23T11:45:42.588Z","dependency_job_id":null,"html_url":"https://github.com/johnlui/go_static","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnlui%2Fgo_static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnlui%2Fgo_static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnlui%2Fgo_static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnlui%2Fgo_static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnlui","download_url":"https://codeload.github.com/johnlui/go_static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250513721,"owners_count":21443204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T22:19:05.186Z","updated_at":"2025-04-23T20:48:54.897Z","avatar_url":"https://github.com/johnlui.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go_static\n====================\n###功能###\n1. 新闻博客类非数据交互网站通用首页静态化\n2. emlog博客系统文章页静态化\n3. 使用Go语言编写，跨平台\n\n###条件###\n1. 需要有服务器管理权限，因为要编译、运行软件\n2. 需要Go语言编译环境，请去[The Go Programming Language](http://golang.org/) 下载\n\n###使用方法###\n1. 两个文件单独编译:\n\n\t`\n\tgo build common_static_homepage.go\n\t`\n\t\n\t`\n\tgo build emlog_static_articles\n\t`  \n2. common_static_homepage `通用首页`静态化 使用方法为：    \n    \n    `\n    ./common_static_homepage -url=http://example.com/index.php -t=30    \n    `\n    \n    t 为间隔时间，单位是秒    \n\n3. emlog_static_articles `emlog文章页`静态化 使用方法为：    \n    \n    `\n    ./emlog_static_articles -url=http://example.com/index.php -c=10 -n=100    \n    `\n    \n    c 为并发数，n 为总文章数，即文章id最大值    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnlui%2Fgo_static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnlui%2Fgo_static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnlui%2Fgo_static/lists"}