一个纯静态、支持SEO、在线编辑的强大导航网站,希望您会喜欢
内置收录多达 800+ 优质网站, 助您工作、学习和生活
三不需:无需数据库
、无需服务器
、无需成本
发现导航
的理念就是做一款无需依赖后端服务既简单又方便,没有繁杂的配置和数据库等配置概念, 做到开箱即用。
800+
优质网站🍰 支持自有部署(pm2 | Docker | 宝塔)/Fork |
零成本部署,像数 321
一样简单。
1、右上角点击 Fork
当前项目。
2、https://github.com/settings/tokens/new 申请 token
, 勾选相应的权限, 如果不懂就全部选中,复制并保存 Token;Gitee 申请点这里
3、https://github.com/你的用户名/nav/settings/secrets/actions/new 添加申请的 token, name 填写 TOKEN
大写。
4、打开 https://github.com/你的用户名/nav/actions 开启 action 自动部署
5、修改项目根目录配置文件 nav.config.yaml 只需要修改仓库地址 gitRepoUrl
字段
6、打开 https://你的用户名.github.io/nav 就能看到一个非常强大的导航网站了。
作者目前使用,速度较快, 打包路径 dist/browser
国内访问速度较慢,建议测试后使用
https://github.com/apps/vercel
只需要修改根目录 nav.config.yaml
以下相关字段
|Fork |自有部署 | 字段 | 说明 |
| ——————————————— | ——– |— |— |
|√ | | gitRepoUrl | 填写您的仓库地址 |
|√ | | branch | 部署分支 |
|√ | √| hashMode | 路由是否 Hash 模式, 如果是部署在 github pages
务必设为 true |
| | √| password | 自有部署登录密码,Fork
用户无需填写 |
| | √| address | 自有部署, 一旦填写认为你是自有部署 |
|√| √| email | 用户提交收录通知 |
| | √| mailConfig | 自有部署,用户收录通知邮箱配置 |
|√ | | imageRepoUrl | 图片仓库, 默认主仓库 https://github.com/xjh22222228/image?branch=main
|
将路由地址修改为 system
即可进入,如: https://www.nav3.cn 修改为 https://www.nav3.cn/system
仅限于 Fork
用户
点这里安装 Pull , 只要有升级会自动给你的仓库提交 Pull Requests
点击合并即可。
将你的仓库克隆下来执行以下命令
git pull
git remote add upstream https://gitee.com/xiejiahe/nav.git
git fetch upstream main
git merge upstream/main --allow-unrelated-histories --no-edit
git push
# 如果安装了node只需执行
npm run update
项目于 2018 年到至今一直坚持维护和开源, 经过 N 次的迭代与优化, 如果项目能帮到您是我的荣幸。
您可以请作者喝杯咖啡,继续战斗下去
For commercial sites, themes, projects, and applications, keep your source code private/proprietary by purchasing a Commercial License.
Licensed under the GNU General Public License 3.0 for compatible open source projects and non-commercial use.
Copyright 2024-present xiejiahe