a better way to manage your Jellyfin users, now in go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Harvey Tindall fd766e7b1a
use app identifier instead of ctx
4 years ago
config attempt at using a config struct instead of the ini library 4 years ago
data Fixed goreleaser config 4 years ago
images convert text to path to fix rendering on mobile 4 years ago
mail Add windows build support from jf-accounts 4 years ago
scss Add windows build support from jf-accounts 4 years ago
.gitignore Added makefile 4 years ago
.goreleaser.yml Images, fixed "data" path 4 years ago
Dockerfile Added alpine and debian dockerfiles 4 years ago
Makefile Added makefile 4 years ago
README.md add docker to readme 4 years ago
api.go use app identifier instead of ctx 4 years ago
auth.go use app identifier instead of ctx 4 years ago
config.go use app identifier instead of ctx 4 years ago
daemon.go use app identifier instead of ctx 4 years ago
dockerfile-debian Added alpine and debian dockerfiles 4 years ago
email.go use app identifier instead of ctx 4 years ago
go.mod add pprof middleware 4 years ago
go.sum add pprof middleware 4 years ago
jfapi.go Added setup, self restarts 4 years ago
main.go use app identifier instead of ctx 4 years ago
package-lock.json CLI flags, start setting up goreleaser, add build scripts 4 years ago
package.json CLI flags, start setting up goreleaser, add build scripts 4 years ago
pwreset.go use app identifier instead of ctx 4 years ago
pwval.go Partial check for invite page, 404 handling 4 years ago
setup.go use app identifier instead of ctx 4 years ago
storage.go CLI flags, start setting up goreleaser, add build scripts 4 years ago
views.go use app identifier instead of ctx 4 years ago

README.md

jfa-go

A rewrite of jellyfin-accounts in Go. It has feature parity with the Python version, but should be faster.

Install

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.

For docker, run:

docker create \
             --name "jfa-go" \ # Whatever you want to name it
             -p 8056:8056 \
             -v /path/to/.config/jfa-go:/data \ # Equivalent of ~/.jf-accounts
             -v /path/to/jellyfin:/jf \ # Path to jellyfin config directory
             -v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct
             hrfee/jfa-go

Usage

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,
  • ~/Library/Application Support/jfa-go on macOS.

(or specify config/data path with -config/-data respectively.)

This is the first time i've even touched Go, and the code is a mess, so help is very welcome.