- Run
yarnto install packages - Download pages multistream torrent from metawiki site
- After unzipping, rename the file to
wiki.xmland move it into thedatafolder for further processing - Then run
yarn db:csvto convert the XML to CSV - Then run
yarn db:initto build the database file - Then run
sqlite3 wiki.db.mode csv.import links.csv links- run
CREATE INDEX idx_from_title ON links (from_title);
- Go to the
backendfolder- Add an
.envfile with a your DB's file path as the value forDB_FILE - Run
yarn watchto start the server
- Add an
- Go to the
frontendfolder- Create a
.env.localfile with the following:VITE_API_URL=http://localhost:8000/api - Run
yarn devto start the website
- Create a
-
Notifications
You must be signed in to change notification settings - Fork 2
Expedite your next "Wikipedia rabbit-hole" by using this compiled database of over 300 million article relationships to interactively explore and traverse all of humanity's knowledge.
dannydi12/wikigraph
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Expedite your next "Wikipedia rabbit-hole" by using this compiled database of over 300 million article relationships to interactively explore and traverse all of humanity's knowledge.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published