Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T09:26:34.000Z (over 3 years ago)
- Last Synced: 2024-08-10T19:16:25.894Z (6 months 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
![Logo](docs/src/images/icon.jpg)
Wiki Graph
A Wikipedia search visualization tool
![Top Lang](https://img.shields.io/github/languages/top/francis-du/wiki-graph?color=%23E5531A&style=flat-square)
[![Api docs](https://img.shields.io/badge/Api-Doc-a94064?style=flat-square&color=%23E5531A)](https://wiki-graph.francis.run)
[![Rust Build](https://img.shields.io/github/workflow/status/francis-du/wiki-graph/cargo-test?label=rust%20build&style=flat-square)](https://github.com/francis-du/wiki-graph/actions?query=workflow:cargo-test)
[![Docs Build](https://img.shields.io/github/workflow/status/francis-du/wiki-graph/mdbook-deploy?label=docs%20build&style=flat-square)](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)[![](docs/src/images/index.png)](https://wiki-graphs.herokuapp.com)
## Search result
[![](docs/src/images/graph.png)](https://wiki-graphs.herokuapp.com)
## How to deploy
### CLI Commands
```shell
░██╗░░░░░░░██╗██╗██╗░░██╗██╗ ░██████╗░██████╗░░█████╗░██████╗░██╗░░██╗
░██║░░██╗░░██║██║██║░██╔╝██║ ██╔════╝░██╔══██╗██╔══██╗██╔══██╗██║░░██║
░╚██╗████╗██╔╝██║█████═╝░██║ ██║░░██╗░██████╔╝███████║██████╔╝███████║
░░████╔═████║░██║██╔═██╗░██║ ██║░░╚██╗██╔══██╗██╔══██║██╔═══╝░██╔══██║
░░╚██╔╝░╚██╔╝░██║██║░╚██╗██║ ╚██████╔╝██║░░██║██║░░██║██║░░░░░██║░░██║
░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝ ░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝Version: 0.1.0
A Wikipedia search visualization toolUSAGE:
wiki-graph [FLAGS] [OPTIONS]FLAGS:
-d, --debug Activate debug mode
--help Prints help information
--proxy Using proxy network
-V, --version Prints version informationOPTIONS:
-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
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
- installation hero CLI
- run commands
```shell
heroku loginheroku 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)