Commit graph

275 commits

Author SHA1 Message Date
Folyd
501b0a9792 Add Deminifier to clean minified string 2020-01-12 14:25:10 +08:00
Folyd
676d2acf22 Apply cargo clippy suggestions 2020-01-10 19:42:58 +08:00
Folyd
187ea4464a Move minify function to Minifer struct 2020-01-10 19:36:56 +08:00
Folyd
9c0e254b7e Write mapping into crates-index.js 2020-01-10 12:11:42 +08:00
Folyd
8e63b147eb Use MappingMinifier to minify crate's description 2020-01-10 11:54:35 +08:00
Folyd
57df7feb0e Generate crates description frequency words mapping 2020-01-09 21:42:33 +08:00
Folyd
1242229a88 Update crates-index binary 2020-01-08 10:55:01 +08:00
Folyd
9db33fac09 Add User-Agent and limit the request rate to comply crates.io crawler policy 2020-01-07 23:02:21 +08:00
Folyd
e7629e5ea1 Remove branch gh-pages instead of push to branch now 2020-01-05 00:17:28 +08:00
Folyd
f4cdc2a28c Temporary disable schedule crates index task 2020-01-04 15:30:49 +08:00
Folyd
b57792c1a2 Change website url to now.sh 2020-01-03 20:30:59 +08:00
Folyd
ac5eb94218 Fix crates-index url typo, update crates-index binary file 2019-12-31 15:46:23 +08:00
Folyd
2a8a7edb77 Fix deploy docs incorrect directory bug 2019-12-31 15:03:19 +08:00
Folyd
b031a2aec6 Fix update crates index failed bug, upgrade reqwest and tokio 2019-12-31 11:30:00 +08:00
Folyd
b198bc5729 Use rust binary to deploy crates index 2019-12-30 20:44:59 +08:00
Folyd
b7bf89f011 Add build binary workflows and script 2019-12-30 20:26:15 +08:00
Folyd
2e02755dec Trigger docs deployment by repository_dispatch event 2019-12-30 18:42:33 +08:00
Folyd
2197e80151 Update docs hot-it-works page 2019-12-28 23:22:59 +08:00
Folyd
43ded6278d Fix new crate search issue 2019-12-28 23:15:02 +08:00
Folyd
c570ee8a6a Toast message for crates index update and offline doc path 2019-12-28 22:48:27 +08:00
Folyd
62476761e1 Update latest crates index 2019-12-28 00:16:08 +08:00
Folyd
2d23703207 Add crates-index workflows 2019-12-27 23:49:02 +08:00
Folyd
a96ea8f203 Try fix github action error 2019-12-27 00:19:07 +08:00
Folyd
5e4c71f216 Add deploy-docs.sh to deploy docs for Github Action 2019-12-27 00:01:21 +08:00
Folyd
65b8227e3b Update search-index version 2019-12-23 14:59:14 +08:00
Folyd
7f853ec9b0 Add depoly crates index bash script 2019-12-23 00:23:11 +08:00
Folyd
5a9b842cf4 Add Content Security Policy url to load latest crates index from the server 2019-12-23 00:13:08 +08:00
Folyd
a8762d48b4 Support specify crates index path in the args 2019-12-22 13:57:48 +08:00
Folyd
13546e8d08 Upgrade search-index to v1.40.0, increase MAX_SUGGEST_SIZE to 7 2019-12-20 23:38:17 +08:00
Folyd
92151225d8 Load latest crates index if available on popup page 2019-12-11 12:17:36 +08:00
Folyd
2214017845 Minify description to reduct crates-index file size 2019-12-10 00:37:06 +08:00
Folyd
10a0b547a5 Async/await crate search functions 2019-12-09 11:53:20 +08:00
Folyd
34b296f605 Add official website to README 2019-12-03 18:00:53 +08:00
Folyd
d9f8e32cdd Popup page add website and github link 2019-12-03 17:55:04 +08:00
Folyd
192ac2612d Update release history 2019-12-03 12:03:41 +08:00
Folyd
c47e8b1076 Fix home section permalink issue 2019-12-02 21:13:46 +08:00
Folyd
efaa6d99dc Fix docs render issues 2019-12-02 21:10:02 +08:00
Folyd
bf2092ac3d Fix docs logo and link path issue 2019-11-29 16:56:55 +08:00
Folyd
0e6d03f01e Fix docs css path and some styles 2019-11-29 16:06:18 +08:00
Folyd
c55ed80359 Specify the build dir env 2019-11-29 15:56:35 +08:00
Folyd
110fe870a2 Fix docs workflow 2019-11-28 23:34:30 +08:00
Folyd
28f32750ae Add docs workflow to deploy docs to github pages 2019-11-28 23:22:04 +08:00
Folyd
31764c8a45 Optimize docs markdown css style 2019-11-28 23:18:25 +08:00
Folyd
bde2a7072b Setup the basic homepage with zola 2019-11-27 23:56:05 +08:00
Folyd
02fa24e6e7 Optimize option ui 2019-11-21 16:20:05 +08:00
Folyd
60f63681bb Prefix with ! can search crates exclusively 2019-11-20 18:29:08 +08:00
Folyd
58f8e64cf6 Don't clean crate index to reduce memory usage 2019-11-20 18:11:12 +08:00
Folyd
a432bc6825 Ignore search keyword's space character, update crates-index 2019-11-20 17:43:40 +08:00
Folyd
bbdcd4f37f Aggregate crates index common string into array to reduce file size 2019-11-20 17:30:57 +08:00
Folyd
ed9892a20d Cargo fmt 2019-11-20 15:57:18 +08:00