{"id":15019969,"url":"https://github.com/hueliu/nav","last_synced_at":"2026-03-15T17:45:53.727Z","repository":{"id":249956842,"uuid":"832444252","full_name":"HueLiu/nav","owner":"HueLiu","description":"个人网址导航","archived":false,"fork":false,"pushed_at":"2024-08-16T08:52:40.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T17:55:48.136Z","etag":null,"topics":["docker","lua","nav","nginx","notion","openresty","website"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HueLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T03:31:44.000Z","updated_at":"2024-08-16T08:56:49.000Z","dependencies_parsed_at":"2024-07-29T13:23:28.411Z","dependency_job_id":"37087515-045c-445e-96f6-84eaa68be344","html_url":"https://github.com/HueLiu/nav","commit_stats":null,"previous_names":["hueliu/nav"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HueLiu%2Fnav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HueLiu%2Fnav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HueLiu%2Fnav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HueLiu%2Fnav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HueLiu","download_url":"https://codeload.github.com/HueLiu/nav/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318758,"owners_count":20272144,"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":["docker","lua","nav","nginx","notion","openresty","website"],"created_at":"2024-09-24T19:54:23.352Z","updated_at":"2025-12-24T17:32:37.593Z","avatar_url":"https://github.com/HueLiu.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 一个基于 [Notion](https://www.notion.so) + [OpenResty](https://openresty.org) 的伪静态响应式网址导航主题\n\n## 使用说明\n\n这是一个完全开源的项目，你可以直接拿来制作自己的网址导航，如果你对本主题进行了一些个性化调整，欢迎来本项目中 [issue](https://github.com/HueLiu/nav/issues) 分享一下！\n\n- 复制 [Notion 模板](https://ambitious-iodine-152.notion.site/5161a09e2e5b421590a4278155ba4e44?v=a16988cd530d4a819493556ecc6c5f62\u0026pvs=4) 并获取你的 Notion 模板 ID\n\n  - 创建 [Notion API token](https://www.notion.so/profile/integrations)\n  - 将你的 Notion 模板连接到该 token\n\n- 安装 [OpenResty](https://openresty.org) 到本地或服务器\n\n  - 设置环境变量\n\n    ```.env\n    SITE_TYPE=notion\n    NOTION_DATABASE=你的 Notion 模板 ID\n    NOTION_TOKEN=你的 Notion API Token\n    ```\n\n  - 克隆本项目到本地或服务器，在项目根目录下执行命令（你也可以调整 nginx 配置文件）:\n\n    ```shell\n    启动：openresty -p `pwd`/ -c conf/nginx.conf\n    停止：openresty -p `pwd`/ -c conf/nginx.conf -s stop # 立即关闭整个服务\n    退出 -p `pwd`/ -c conf/nginx.conf -s quit # “优雅” 的关闭整个服务，worker 进程处理完当前用户请求再关闭\n    重启：openresty -p `pwd`/ -c conf/nginx.conf -s reload # 重读配置文件并使用服务对新配置项生效，只针对配置文件\n    ```\n\n- Docker 安装 (推荐)\n\n  ```shell\n  docker pull harleyliu/nav\n\n  docker run -d -p 8080:8080 \\\n    -e=SITE_TYPE=notion \\\n    -e=NOTION_TOKEN=your_notion_token \\\n    -e=NOTION_DATABASE=your_notion_template_id \\\n    harleyliu/nav:latest\n  ```\n\n## 计划\n\n- [x] docker\n- [ ] 集成 AriaTable\n- [ ] 集成 NocoDB\n\n## 感谢\n\n本项目的部分代码参考了以下开源项目，特此感谢。\n\n- [shenweiyan/WebStack-Hugo](https://github.com/shenweiyan/WebStack-Hugo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueliu%2Fnav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhueliu%2Fnav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueliu%2Fnav/lists"}