项目作者: francis-du

项目描述 :
A Wikipedia search visualization tool.
高级语言: Rust
项目地址: git://github.com/francis-du/wiki-graph.git
创建时间: 2021-01-15T16:52:28Z
项目社区:https://github.com/francis-du/wiki-graph

开源协议:MIT License

下载




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

  1. ░██╗░░░░░░░██╗██╗██╗░░██╗██╗  ░██████╗░██████╗░░█████╗░██████╗░██╗░░██╗
  2. ░██║░░██╗░░██║██║██║░██╔╝██║  ██╔════╝░██╔══██╗██╔══██╗██╔══██╗██║░░██║
  3. ░╚██╗████╗██╔╝██║█████═╝░██║  ██║░░██╗░██████╔╝███████║██████╔╝███████║
  4. ░░████╔═████║░██║██╔═██╗░██║  ██║░░╚██╗██╔══██╗██╔══██║██╔═══╝░██╔══██║
  5. ░░╚██╔╝░╚██╔╝░██║██║░╚██╗██║  ╚██████╔╝██║░░██║██║░░██║██║░░░░░██║░░██║
  6. ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝  ░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝
  7. Version: 0.1.0
  8. A Wikipedia search visualization tool
  9. USAGE:
  10. wiki-graph [FLAGS] [OPTIONS] <SUBCOMMAND>
  11. FLAGS:
  12. -d, --debug Activate debug mode
  13. --help Prints help information
  14. --proxy Using proxy network
  15. -V, --version Prints version information
  16. OPTIONS:
  17. -h, --host <host> Set host [default: 0.0.0.0]
  18. -p, --port <port> Set port [default: 3690]
  19. SUBCOMMANDS:
  20. api start a api service
  21. app start a app service
  22. 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

  1. heroku login
  2. heroku git:clone -a wiki-graphs
  3. cd wiki-graphs
  4. git add .
  5. git commit -am "hello heroku"
  6. git push heroku master

Docker

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

License

MIT LICENSE