a better way to manage your Jellyfin users, now in go.
Go to file
Harvey Tindall 252e13757b
Disable i386 builds
disabling this because building for darwin/386 is no longer available
and goreleaser hasn't picked up on this yet, i believe.
2020-08-16 14:55:39 +01:00
config attempt at using a config struct instead of the ini library 2020-08-15 22:07:48 +01:00
data disable generate button if duration is zero 2020-08-16 14:05:16 +01:00
images convert text to path to fix rendering on mobile 2020-08-02 13:16:43 +01:00
mail added -y option to prebuild scripts using node_bin 2020-08-16 14:39:47 +01:00
scss added -y option to prebuild scripts using node_bin 2020-08-16 14:39:47 +01:00
.gitignore Added makefile 2020-08-03 18:00:54 +01:00
.goreleaser.yml Disable i386 builds 2020-08-16 14:55:39 +01:00
Dockerfile Added alpine and debian dockerfiles 2020-08-03 19:45:10 +01:00
Makefile Added makefile 2020-08-03 18:00:54 +01:00
README.md add docker to readme 2020-08-03 20:10:45 +01:00
api.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
auth.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
config.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
daemon.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
dockerfile-debian Added alpine and debian dockerfiles 2020-08-03 19:45:10 +01:00
email.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
go.mod Upgrade packages 2020-08-16 14:33:10 +01:00
go.sum Upgrade packages 2020-08-16 14:33:10 +01:00
jfapi.go Added setup, self restarts 2020-08-02 00:05:35 +01:00
main.go fixed custom config and data paths 2020-08-16 14:26:07 +01:00
package-lock.json CLI flags, start setting up goreleaser, add build scripts 2020-08-01 21:20:02 +01:00
package.json CLI flags, start setting up goreleaser, add build scripts 2020-08-01 21:20:02 +01:00
pwreset.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
pwval.go Partial check for invite page, 404 handling 2020-07-31 13:03:36 +01:00
setup.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00
storage.go CLI flags, start setting up goreleaser, add build scripts 2020-08-01 21:20:02 +01:00
views.go use app identifier instead of ctx 2020-08-16 13:36:54 +01:00

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.