8000 GitHub - mtgto/pediaroute-go: pediaroute written by golang
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mtgto/pediaroute-go

Repository files navigation

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

  1. jawiki-YYYYMMDD-page.sql.gz
  2. jawiki-YYYYMMDD-pagelinks.sql.gz

English

  1. enwiki-YYYYMMDD-page.sql.gz
  2. 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

About

pediaroute written by golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0