https://github.com/francis-du/wiki-graph
A Wikipedia search visualization tool.
https://github.com/francis-du/wiki-graph
heroku rust-web wikipedia
Last synced: 11 months ago
JSON representation
A Wikipedia search visualization tool.
- Host: GitHub
- URL: https://github.com/francis-du/wiki-graph
- Owner: francis-du
- License: mit
- Created: 2021-01-15T16:52:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T09:26:34.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T01:32:52.829Z (over 1 year ago)
- Topics: heroku, rust-web, wikipedia
- Language: Rust
- Homepage: https://wiki-graphs.herokuapp.com
- Size: 2.04 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Wiki Graph
A Wikipedia search visualization tool

[](https://wiki-graph.francis.run)
[](https://github.com/francis-du/wiki-graph/actions?query=workflow:cargo-test)
[](https://github.com/francis-du/wiki-graph/actions?query=workflow:mdbook-deploy)
-----------------------------------------------------------------------------------------------
## [Live demo](https://wiki-graphs.herokuapp.com/)
## How to use
Enter keywords and click search, it will generate a network graph.
And keywords support multiple languages.[Checkout supported languages](https://github.com/francis-du/wiki-graph/blob/5bddd4e67229f1e8375a1dee0207a964ec7adb52/src/common/semantics.rs#L8-L24)
[](https://wiki-graphs.herokuapp.com)
## Search result
[](https://wiki-graphs.herokuapp.com)
## How to deploy
### CLI Commands
```shell
░██╗░░░░░░░██╗██╗██╗░░██╗██╗ ░██████╗░██████╗░░█████╗░██████╗░██╗░░██╗
░██║░░██╗░░██║██║██║░██╔╝██║ ██╔════╝░██╔══██╗██╔══██╗██╔══██╗██║░░██║
░╚██╗████╗██╔╝██║█████═╝░██║ ██║░░██╗░██████╔╝███████║██████╔╝███████║
░░████╔═████║░██║██╔═██╗░██║ ██║░░╚██╗██╔══██╗██╔══██║██╔═══╝░██╔══██║
░░╚██╔╝░╚██╔╝░██║██║░╚██╗██║ ╚██████╔╝██║░░██║██║░░██║██║░░░░░██║░░██║
░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝ ░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝
Version: 0.1.0
A Wikipedia search visualization tool
USAGE:
wiki-graph [FLAGS] [OPTIONS]
FLAGS:
-d, --debug Activate debug mode
--help Prints help information
--proxy Using proxy network
-V, --version Prints version information
OPTIONS:
-h, --host Set host [default: 0.0.0.0]
-p, --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
[](https://heroku.com/deploy)
- installation hero CLI
- run commands
```shell
heroku login
heroku git:clone -a wiki-graphs
cd wiki-graphs
git add .
git commit -am "hello heroku"
git push heroku master
```
## Docker
```shell
docker run -d -p 3690:3690 francisdu/wiki-graph
```
## License
[MIT LICENSE](LICENSE)