Compare commits
2 commits
93703674ff
...
ea586013c9
Author | SHA1 | Date | |
---|---|---|---|
ea586013c9 | |||
67215324df |
4 changed files with 10 additions and 12 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -358,7 +358,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bunbun"
|
name = "bunbun"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-web 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"actix-web 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"handlebars 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"handlebars 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bunbun"
|
name = "bunbun"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
authors = ["Edward Shen <code@eddie.sh>"]
|
authors = ["Edward Shen <code@eddie.sh>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "Re-implementation of bunny1 in Rust"
|
description = "Re-implementation of bunny1 in Rust"
|
||||||
|
|
15
README.md
15
README.md
|
@ -30,17 +30,14 @@ not exist. You should model your own custom routes after the provided ones.
|
||||||
If configuring for development, no further configuration is required. If running
|
If configuring for development, no further configuration is required. If running
|
||||||
this for production, you should edit the `public_address` field.
|
this for production, you should edit the `public_address` field.
|
||||||
|
|
||||||
|
the config file is watched, so updates are immediate unless invalid, or if
|
||||||
|
you're using certain programs such as nvim, which performs updating a file via
|
||||||
|
swapping rather than directly updating the file.
|
||||||
|
|
||||||
### Adding bunbun as a search engine
|
### Adding bunbun as a search engine
|
||||||
|
|
||||||
bunbun supports the [OpenSearch Description Format][osdf].
|
bunbun supports the [OpenSearch Description Format][osdf]. Visit the root page
|
||||||
|
of your desired instance of bunbun to learn more.
|
||||||
For Chrome, simply visiting the index page will auto add bunbun as a search
|
|
||||||
engine. You simply need to set it as a default in your preferences.
|
|
||||||
|
|
||||||
For Firefox, you need to explicitly add bunbun as a search engine. This can be
|
|
||||||
done by clicking the three dots next to the star button on the url box, and
|
|
||||||
clicking on "Add Search Engine". Then, you can set it as your default search
|
|
||||||
engine.
|
|
||||||
|
|
||||||
[rust-lang]: https://www.rust-lang.org/
|
[rust-lang]: https://www.rust-lang.org/
|
||||||
[bunny1]: http://www.bunny1.org/
|
[bunny1]: http://www.bunny1.org/
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# The location which your server is listening on and binds to
|
# The location which your server is listening on and binds to. You must restart
|
||||||
|
# bunbun for changes to take effect for this config option.
|
||||||
bind_address: "127.0.0.1:8080"
|
bind_address: "127.0.0.1:8080"
|
||||||
|
|
||||||
# The root location where people can access your instance of bunbun
|
# The root location where people can access your instance of bunbun
|
||||||
|
|
Loading…
Reference in a new issue