README.md 5.9 KB
Newer Older
X
xjh22222228 已提交
1 2 3 4 5 6

<p align="center">
  <a href="https://nav3.cn/?g">
    <img src="src/assets/logo.png" width="130" />
  </a>
  <br />
X
xjh22222228 已提交
7 8 9
  <b>Discovery Navigation</b>
  <p align="center">A purely static, powerful navigation website that supports SEO and online editing, I hope you will like it</p>
  <p align="center">Built-in collection of up to 800+ high-quality websites to help you work, study and live</p>
X
xjh22222228 已提交
10
  <p align="center">
X
xjh22222228 已提交
11 12 13
    <a href="README_zh-CN.md">
      <img src="https://img.shields.io/badge/lang-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg?longCache=true&style=flat-square">
    </a>
X
xjh22222228 已提交
14 15 16 17 18 19 20 21 22 23 24
    <img src="https://img.shields.io/github/v/release/xjh22222228/nav" />
    <a href="https://github.com/xjh22222228/nav/stargazers"><img src="https://img.shields.io/github/stars/xjh22222228/nav" alt="Stars"/></a>
    <img alt="Angular" src="https://img.shields.io/static/v1.svg?label=&message=Angular11&style=flat-square&color=C82B38">
    <img src="https://img.shields.io/github/license/xjh22222228/nav" />
  </p>
</p>

<br />
<br />


X
xjh22222228 已提交
25 26
## Preview
**Themes**
X
xjh22222228 已提交
27

X
xjh22222228 已提交
28 29 30 31
- [Sim online preview](https://nav3.cn/#/sim)
- [Light online preview](https://nav3.cn/#/light)
- [Side online preview](https://nav3.cn/#/side)
- [App online preview](https://nav3.cn/#/app)
X
xjh22222228 已提交
32

X
xjh22222228 已提交
33 34 35 36 37
![Preview](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/1.png)
![Preview](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/2.png)
![Preview](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/3.png)
![Preview](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/4.png)
![Preview](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/5.png)
X
xjh22222228 已提交
38 39 40



X
xjh22222228 已提交
41 42


X
xjh22222228 已提交
43

X
xjh22222228 已提交
44 45
## Features
`Discovery Navigation The idea is to make it simple and convenient without relying on back-end services, without complicated configuration and database configuration concepts, so it can be used out of the box.
X
xjh22222228 已提交
46 47


X
xjh22222228 已提交
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
- 🍰 Built-in 800+utility sites.
- 🍰 Support SEO.
- 🍰 It is completely static and provides automatic deployment functions.
- 🍰 The trigeminal tree has a clear structure and clear classification.
- 🍰 Support one website to associate multiple URLs
- 🍰 The coexistence of beauty and simplicity is no longer the era of killing Matt.
- 🍰 Completely open source, easy to customize.
- 🍰 Support multiple browsing modes and innovation.
- 🍰 Support footprint memory.
- 🍰 Support mobile browsing.
- 🍰 Support search query.
- 🍰 Support custom engine search.
- 🍰 A variety of theme switching.
- 🍰 Support dark mode.
- 🍰 Support background management, no need to deploy.
- 🍰 Support import from Chrome bookmarks
X
xjh22222228 已提交
64 65


X
xjh22222228 已提交
66 67
## Deploy
Its as easy as counting numbers "3 2 1" that simple!
X
xjh22222228 已提交
68

X
xjh22222228 已提交
69 70
#### Method one (github-pages free)
1、Fork the current project.
X
xjh22222228 已提交
71

X
xjh22222228 已提交
72
2、[https://github.com/settings/tokens](https://github.com/settings/tokens) apply for a token, check the corresponding permissions, if you don’t understand, select all, copy and save the token.
X
xjh22222228 已提交
73

X
xjh22222228 已提交
74
3、https://github.com/askfriends/nav/settings/secrets/actions/new  Create a new application token, name fill in TOKEN (All are uppercase).
X
xjh22222228 已提交
75

X
xjh22222228 已提交
76
4、Go to https://github.com/askfriends/nav/actions click "Green Button"
X
xjh22222228 已提交
77

X
xjh22222228 已提交
78
5、Be sure to modify the project configuration file [nav.config.ts](nav.config.ts)
X
xjh22222228 已提交
79

X
xjh22222228 已提交
80
6、After 5 minutes, open https://askfriends.github.io/nav , you will see a very powerful navigation website.
X
xjh22222228 已提交
81

X
xjh22222228 已提交
82 83 84
### Method 2 (Free Vercel)
The steps are the same as the first method, except that the fourth step is not needed.
For specific use, follow the steps [https://github.com/apps/vercel](https://github.com/apps/vercel)
X
xjh22222228 已提交
85 86


X
xjh22222228 已提交
87
Note: If you want to deploy your own domain name, then the above tutorial is also suitable, as it provides automated deployment, and then through CNAME or Revers Proxy implementation:
X
xjh22222228 已提交
88 89 90 91 92 93 94 95 96 97 98 99 100 101
```conf
# nginx

server {
    listen       80;
    server_name  www.nav3.cn nav3.cn;

    location / {
        proxy_pass https://xjh22222228.github.io/nav/;
    }
}
```


X
xjh22222228 已提交
102 103 104
## Bookmark import

Support importing from Chrome bookmarks (WebKit kernel should be supported~), it will automatically detect navigation that meets the three-level classification, and all others will be set as unclassified:
X
xjh22222228 已提交
105 106 107

![](https://raw.githubusercontent.com/xjh22222228/public/gh-pages/nav/import.png)

X
xjh22222228 已提交
108
The browser opens chrome://bookmarks/ to export the bookmarks to get the html file, and then import it from the background of the navigation website.
X
xjh22222228 已提交
109 110


X
xjh22222228 已提交
111 112
## Choose the Loading that suits you
Modify the `loading` field in [Configuration File](nav.config.ts).
X
xjh22222228 已提交
113 114 115 116 117 118

<img src="media/loading1.png" width="400px" />
<img src="media/loading2.png" width="400px" />
<img src="media/loading3.png" width="400px" />


X
xjh22222228 已提交
119 120 121



X
xjh22222228 已提交
122 123 124
##upgrade
Before upgrading, please back up the `data` folder and `nav.config.ts` in the root directory, and replace them after the upgrade.
Click the `Watch` button in the upper right corner to track the version upgrade for the first time.
X
xjh22222228 已提交
125 126


X
xjh22222228 已提交
127
## Update log
X
v5.3.2  
xjh22222228 已提交
128
[CHANGELOG](https://github.com/xjh22222228/nav/releases)
X
xjh22222228 已提交
129 130 131 132




X
xjh22222228 已提交
133

X
xjh22222228 已提交
134

X
xjh22222228 已提交
135
## Development and construction
X
xjh22222228 已提交
136
``` bash
X
xjh22222228 已提交
137
# Download
X
xjh22222228 已提交
138 139
git clone --depth=1 https://github.com/xjh22222228/nav.git

140 141
cd nav

X
xjh22222228 已提交
142
# Installation dependencies
X
xjh22222228 已提交
143
yarn
X
xjh22222228 已提交
144

X
xjh22222228 已提交
145
# Start
X
xjh22222228 已提交
146
yarn start
X
xjh22222228 已提交
147

X
xjh22222228 已提交
148
# Build
X
xjh22222228 已提交
149
yarn build
X
xjh22222228 已提交
150 151 152 153
```



X
xjh22222228 已提交
154
## contribute
X
xjh22222228 已提交
155 156 157 158 159 160 161 162 163 164 165
Thank you for your [contribution](https://github.com/xjh22222228/nav/issues), men.

<a href="https://github.com/YutHelloWorld">
  <img src="https://avatars1.githubusercontent.com/u/20860159?s=460&v=4" width="30px" height="30px" />
</a>
<a href="https://github.com/JJJTHuang">
  <img src="https://avatars3.githubusercontent.com/u/22817432?s=460&v=4" width="30px" height="30px" />
</a>
<a href="https://github.com/Fechin">
  <img src="https://avatars1.githubusercontent.com/u/2541482?s=460&v=4" width="30px" height="30px" />
</a>
X
xjh22222228 已提交
166 167 168
<a href="https://github.com/setdiaoyong">
  <img src="https://avatars1.githubusercontent.com/u/62551864?s=460&v=4" width="30px" height="30px" />
</a>
X
xjh22222228 已提交
169 170 171



X
xjh22222228 已提交
172 173 174



X
xjh22222228 已提交
175 176
## Suggest
If you have any functional suggestions, you can initiate an [issue](https://github.com/xjh22222228/nav/issues), Thank you.