Source of https://pediaroute.com/ .
You need
- Golang 1.19
- Make
- Node.js 16+
- yarnpkg
$ cd web && yarn install && yarn build:dev
$ make
Before generating application data, you need to download wikipedia sql files.
Japanese
- jawiki-YYYYMMDD-page.sql.gz
- jawiki-YYYYMMDD-pagelinks.sql.gz
English
- enwiki-YYYYMMDD-page.sql.gz
- enwiki-YYYYMMDD-pagelinks.sql.gz
$ ./build/gen \
-ip /path/to/jawiki-YYYYMMDD-page.sql.gz \
-il /path/to/jawiki-YYYYMMDD-pagelinks.sql.gz \
-o .
You will find 4 files in current directory:
- config.json
- title.dat
- page.dat
- link.dat
GPL v3