Compare commits

..

No commits in common. "ea586013c9394a7e3ec5c4056fb723453a20e35a" and "93703674ffa0bf5ec76f89d946c3b7da97b68a40" have entirely different histories.

4 changed files with 12 additions and 10 deletions

2
Cargo.lock generated
View file

@ -358,7 +358,7 @@ dependencies = [
[[package]]
name = "bunbun"
version = "0.2.0"
version = "0.1.1"
dependencies = [
"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)",

View file

@ -1,6 +1,6 @@
[package]
name = "bunbun"
version = "0.2.0"
version = "0.1.1"
authors = ["Edward Shen <code@eddie.sh>"]
edition = "2018"
description = "Re-implementation of bunny1 in Rust"

View file

@ -30,14 +30,17 @@ not exist. You should model your own custom routes after the provided ones.
If configuring for development, no further configuration is required. If running
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
bunbun supports the [OpenSearch Description Format][osdf]. Visit the root page
of your desired instance of bunbun to learn more.
bunbun supports the [OpenSearch Description Format][osdf].
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/
[bunny1]: http://www.bunny1.org/

View file

@ -1,5 +1,4 @@
# The location which your server is listening on and binds to. You must restart
# bunbun for changes to take effect for this config option.
# The location which your server is listening on and binds to
bind_address: "127.0.0.1:8080"
# The root location where people can access your instance of bunbun