Sign inSign up

francisdu/wiki-graph

By francisdu

•Updated over 5 years ago

A Wikipedia search visualization toolkit

Image
0

376

francisdu/wiki-graph repository overview

Logo

⁠Wiki Graph

⁠A Wikipedia search visualization tool

Top Lang Api docs Rust Build Docs Build


⁠Live demo⁠

⁠How to use

Enter keywords and click search, it will generate a network graph. And keywords support multiple languages.Checkout supported languages⁠

⁠Search result

⁠How to deploy

⁠CLI Commands
░██╗░░░░░░░██╗██╗██╗░░██╗██╗  ░██████╗░██████╗░░█████╗░██████╗░██╗░░██╗
░██║░░██╗░░██║██║██║░██╔╝██║  ██╔════╝░██╔══██╗██╔══██╗██╔══██╗██║░░██║
░╚██╗████╗██╔╝██║█████═╝░██║  ██║░░██╗░██████╔╝███████║██████╔╝███████║
░░████╔═████║░██║██╔═██╗░██║  ██║░░╚██╗██╔══██╗██╔══██║██╔═══╝░██╔══██║
░░╚██╔╝░╚██╔╝░██║██║░╚██╗██║  ╚██████╔╝██║░░██║██║░░██║██║░░░░░██║░░██║
░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝  ░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝

Version: 0.1.0
A Wikipedia search visualization tool

USAGE:
    wiki-graph [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -d, --debug      Activate debug mode
        --help       Prints help information
        --proxy      Using proxy network
    -V, --version    Prints version information

OPTIONS:
    -h, --host <host>    Set host [default: 0.0.0.0]
    -p, --port <port>    Set port [default: 3690]

SUBCOMMANDS:
    api     start a api service
    app     start a app service
    help    Prints this message or the help of the given subcommand(s)

⁠Local
  • installation rust

  • run cargo run app to start a service in http://0.0.0.0:3690

  • or use binary in target/debug/ or target/build/ to run wiki-graph app to start a service

⁠Heroku

Deploy

  • installation hero CLI

  • run commands

heroku login

heroku git:clone -a wiki-graphs 

cd wiki-graphs

git add .
git commit -am "hello heroku"
git push heroku master

⁠Docker

docker run -d -p 3690:3690 francisdu/wiki-graph

⁠License

MIT LICENSE⁠

Tag summary

Content type

Image

Digest

Size

435.1 MB

Last updated

over 5 years ago

docker pull francisdu/wiki-graph