docs: update README
Diff
README.md | 45 +++++++++++++++++++++++++++++++++++++++++----
1 file changed, 41 insertions(+), 4 deletions(-)
@@ -2,13 +2,50 @@
An application to render [jrnl.sh](https://jrnl.sh) journals as a static website. Written in Rust and licensed under the [GPLv3 license](LICENSE).
## Work In Progress
## Project Status
This is a work in progress. As of right now, there is no meaningful output.
This is a work in progress.
My goal is to be able to run this command and have a website populated by my journal:
## Usage
```shell
```
`jrnl --format json | livejrnl-rs -o $HOME/Websites/livejrnl-rs/`
All [jrnl command line parameters](https://jrnl.sh/en/stable/reference-command-line/) apply here, as long as you use `--format json` somewhere before the pipe, it should work.
## Configuration
Create a default config file by running the following command when using for the first time:
`livejrnl-rs -h`
A default config will be created at `$HOME/.config/livejrnl-rs/config.toml`
Alternatively, you can create the file yourself and paste the following, editing to suit your needs:
```toml
site_name = 'livejrnl-rs'
base_url = 'localhost'
author = 'me'
template = '/dev/null'
template_index = 'index.html.template'
site_description = 'This is a site rendered with livejrnl-rs.'
site_language = 'en'
```
### Configuration Key Reference
## Templates
This section needs work. TODO.
## Remarks