Images, fixed "data" path

This commit is contained in:
Harvey Tindall
2020-08-02 02:11:50 +01:00
parent 94b8495f02
commit c72e1a1c63
12 changed files with 673 additions and 9 deletions
+21 -3
View File
@@ -1,6 +1,24 @@
# jfa-go
# ![jfa-go](images/jfa-go-banner-wide.svg)
A rewrite of [jellyfin-accounts](https://github.com/hrfee/jellyfin-accounts) in Go. Should be fully functional, and functions the same as jf-accounts. To switch, copy your existing `~/.jf-accounts` to:
A rewrite of [jellyfin-accounts](https://github.com/hrfee/jellyfin-accounts) in Go. It has feature parity with the Python version, but should be faster.
#### Install/usage
Grab an archive from the release section for your platform, and extract `jfa-go` and `data` to the same directory.
Run the executable to start.
```
Usage of ./jfa-go:
-config string
alternate path to config file. (default "~/.config/jfa-go/config.ini")
-data string
alternate path to data directory. (default "~/.config/jfa-go")
-host string
alternate address to host web ui on.
-port int
alternate port to host web ui on.
```
To switch from jf-accounts, copy your existing `~/.jf-accounts` to:
* `XDG_CONFIG_DIR/jfa-go` (usually ~/.config) on \*nix systems,
* `%AppData%/jfa-go` on Windows,
@@ -8,4 +26,4 @@ A rewrite of [jellyfin-accounts](https://github.com/hrfee/jellyfin-accounts) in
(*or specify config/data path with `-config/-data` respectively.*)
Suggestions and help welcome.
This is the first time i've even touched Go, and the code is a mess, so help is very welcome.