module
Version:
v0.0.0-...-ce87abf
Opens a new window with list of versions in this module.
Published: Jun 25, 2023
License: GPL-3.0
Opens a new window with license information.
README
¶
pediaroute
Source of https://pediaroute.com/ .
How to build
You need
- Golang 1.19
- Make
- Node.js 16+
- yarnpkg
$ cd web && yarn install && yarn build:dev
$ make
How to generate application data
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
License
GPL v3
Directories
¶
cmd
|
|
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.