Go to file
jolheiser 3c3f671957
chore: add config examples to readme
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-05-24 15:27:26 -05:00
api feat: initial version 2023-03-04 00:02:24 -06:00
database feat: initial version 2023-03-04 00:02:24 -06:00
router feat: add images 2023-03-04 00:29:56 -06:00
static feat: add images 2023-03-04 00:29:56 -06:00
.gitignore wip: add templates and more logic 2023-02-28 22:47:18 -06:00
LICENSE Initial work 2022-03-11 12:03:01 -06:00
README.md chore: add config examples to readme 2023-05-24 15:27:26 -05:00
flag.go wip: sqlc 2023-03-02 23:51:53 -06:00
go.mod wip: sqlc 2023-03-02 23:51:53 -06:00
go.sum wip: sqlc 2023-03-02 23:51:53 -06:00
main.go feat: initial version 2023-03-04 00:02:24 -06:00

README.md

Invitea

Invite links for your Gitea instance!

Setup

Configure Invitea with a config, environment variables, or flags.

domain: http://localhost:8080
session-secret: honk
gitea-client-key: <client-key>       # OAuth2 app key
gitea-client-secret: <client-secret> # OAuth2 app secret
gitea-token: <admin token>           # Used for creating the accounts
gitea-url: https://git.jojodev.com
level: info

The CLI flags would match the key above and environment variables would match INVITEA_<KEY>.

./invitea --domain http://localhost8080 --session-secret honk
INVITEA_DOMAIN="http://localhost:8080"
INVITEA_SESSION_SECRET="honk"

License

MIT