Web-based portfolio frontend for Gitea https://code.ivysaur.me/teafolio
Go to file
2020-05-05 19:41:26 +12:00
doc doc: add screenshot 2020-05-02 14:25:38 +12:00
static site.js: fix console error on non-index pages 2020-05-04 17:18:29 +12:00
.gitignore initial commit 2020-05-02 14:16:49 +12:00
api.go initial commit 2020-05-02 14:16:49 +12:00
config.toml.sample support redirecting project alternative names 2020-05-05 19:39:44 +12:00
Dockerfile initial commit 2020-05-02 14:16:49 +12:00
go.mod initial commit 2020-05-02 14:16:49 +12:00
go.sum initial commit 2020-05-02 14:16:49 +12:00
main.go automatic support for go get on deep subpackages 2020-05-05 19:41:26 +12:00
README.md doc: update docker/dokku deployment instructions 2020-05-02 14:39:33 +12:00

teafolio

Teafolio is a web-based portfolio frontend for a Gitea server.

Compared to the earlier codesite project, the repository list and detailed information is loaded live from a Gitea server.

Written in Go

Usage

  1. Compile the binary: go build
  2. Modify the sample config.toml file to point to your Gitea instance
    • teafolio will look for config.toml in the current directory, or, you can supply a custom path with -ConfigFile
  3. Deploy binary + static/ directory to webserver

Production (Docker)

docker build -t teafolio:latest .
docker run --restart=always -d -p 5656:5656 -v $(pwd)/config.toml:/app/config.toml teafolio:latest

Production (Dokku)

By default, Dokku will proxy HTTP on port 5000.

dokku apps:create teafolio
dokku storage:mount teafolio /srv/teafolio-dokku/config.toml:/app/config.toml