Self-hosted service
traggo/server avatar
traggo/server

Traggo ships four database drivers, one selectable dialect, and a version string read from git tags

self-hosted tag-based time tracking

1,646 stars99 forksGoGPL-3.0

At a glance

What is it?
Traggo is a self-hosted time tracker built around one idea: no tasks, only tagged time spans. The interesting files are not in the 205 word README but in the compose file, the environment sample and the Makefile.
Who is it for?
Traggo suits a single user or a small team that wants its own server, tracked time as tag combinations rather than task rows, and no third party reading the data. Two things to check before you deploy it.
Can I use it commercially?
Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
Is it still maintained?
Yes. The repository last received commits 59 days ago.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • traggo/server1,646 ★ · +16
Star history
Repository2026-09-112026-11-25
traggo/server1.6k1.6k

16 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The front page has no command in it

The README is 205 words and contains no install command, no configuration snippet and no example invocation. It defines the model in one sentence: there are no tasks in Traggo, only tagged time spans, and customisation happens by adding tags yourself, with a project tag suggested for people who juggle several jobs and a type tag with values such as email, programming or meeting. What follows is a feature list of six bullets, one of which is time tracking, annotated as obvious, three screenshots named for the list view, the calendar view and the dashboard, and then three links that leave the repository: the install guide, the configuration page and the developer setup, all on traggo.net. Version policy is one line, SemVer, pointing at the repository tags.

The compose file builds the dev image and creates admin / admin

The docker-compose.yml at the root is the closest thing to a quick start, and it is configured for development rather than for a server you would expose. It builds from docker/Dockerfile.dev rather than a production image, and its environment block sets three values: the default user name admin, the default user pass admin, and the log level debug. The port mapping is 3030 to 3030 and a single named volume, .traggodata, mounted at /opt/traggo/data, which is where the SQLite database lands by default. The same two credentials appear again in the environment sample file, where every value is commented out and left for you to uncomment. So the sample configuration and the sample deployment both start from the same weak pair.

Four database drivers are linked, and the dialect list allows one

The dependency list tells a different story from the configuration. Three direct requirements carry the load: an ORM on its v1 line, a GraphQL generator and a router. Underneath them sit four database drivers as indirect dependencies: the MySQL driver, a SQL Server driver, the Postgres driver at lib/pq v1.0.0, and the SQLite driver at go-sqlite3 v1.10.0, which needs cgo. The environment sample says otherwise. The dialect variable is commented with a comment saying it must be one of sqlite3, and the connection string example is a file path, data/traggo.db. So four backends are compiled into the binary while configuration exposes one. The Makefile explains the SQLite side at least: the build tags include sqlite_omit_load_extension, and the local build target runs with CGO_ENABLED=1 because of it.

The version string is read from the most recent git tag

This is where the release history becomes visible in the binary itself. The top of the Makefile derives the version from git:

make
TAGS=netgo osusergo sqlite_omit_load_extension
VERSION=$(shell git describe --tags --abbrev=0 | cut -c 2-)

The commit hash and a UTC timestamp are injected the same way, through linker flags that set main.BuildCommit, main.BuildDate and main.BuildVersion, with the build mode set to prod and the binary stripped and linked statically. The consequence is that a binary built from the branch tip reports whatever the newest tag happens to be. The newest tag here is v0.8.3, published 2026-03-01, and the branch itself was pushed to on 2026-09-27. A self-built binary from current master would therefore advertise a seven month old version number while containing everything committed since.

The API is generated, and gqlgen is pinned in two places

A GraphQL layer rather than a REST one is the structural choice here, and it is generated rather than hand written. The root holds schema.graphql and gqlgen.yml, with a graphql/ directory for the generated code and a model/ directory alongside it. The generator is 99designs/gqlgen at v0.17.85, and the Makefile installs that exact version with go install, so the tool and the module agree. Code generation is split into two targets that run in sequence: generate-go invokes gqlgen, generate-js changes into the ui directory and runs yarn generate, and generate depends on both. That coupling matters for anyone editing the schema, because a change to it touches the server, the GraphQL layer and the frontend type output in one step.

The ORM is still on its v1 line while the module targets Go 1.24

The module declares go 1.24.0 and requires jinzhu/gorm at v1.9.2, the original import path for that ORM, rather than the v2 line under a different module name. Around it sit smaller utilities that tell you what the code actually does: a copier for struct copying, a time maths library for duration arithmetic, godotenv and envconfig for the two-stage configuration load, a properties reader, a freeport helper, zerolog for logging and x/crypto. A handful of indirect dependencies look like holdovers: an old cloud.google.com/go and the appengine package that predates the modern clients, two different UUID packages, and a levenshtein helper pulled in by a schema parser. None of that blocks a build; it does mean the dependency surface is wider than the six features suggest.

The release target runs the release tool inside a container, with your Docker socket

Releases are made by giving a container your credentials. The Makefile's release target builds an image tagged traggo:build from docker/Dockerfile.build, then runs it with your GitHub token passed in as an environment variable, your home Docker config mounted so the image can be pushed, the Docker socket itself mounted at /var/run/docker.sock, and the working tree copied in at /work. Inside, the command is release --skip=validate --clean, which is the release tool configured by .goreleaser.yml. A sibling target for snapshots does the same dance against a different version channel. Day to day work is much quieter by comparison: go vet plus goimports for Go, yarn format:check and yarn lint:check for the frontend, and go test with the race detector writing a coverage profile for the Go side.

Editorial conclusion

Traggo suits a single user or a small team that wants its own server, tracked time as tag combinations rather than task rows, and no third party reading the data. Two things to check before you deploy it. The credentials in the committed compose file are admin and admin with debug logging on, so replace them rather than copying the file, and remember that bcrypt strength is a tunable knob at a default of 10. Second, know which database you are actually running: four drivers are linked into the binary while the environment variable accepts only sqlite3, so the others are present in the build without being reachable through configuration. Treat the release gap as a signal too, since the newest tag is v0.8.3 from 2026-03-01 while the branch was pushed to on 2026-09-27.

Frequently asked questions

How does Traggo model work, with tasks or without?

There are no tasks in Traggo, only tagged time spans. Customisation comes from the tags themselves, for example a project tag for people working on several jobs, or a type tag whose values might be email, programming or meeting.

Which databases can Traggo run on?

Configuration exposes one. The environment sample says the dialect must be one of sqlite3 and gives a file path as the connection string, while the dependency list links MySQL, SQL Server, Postgres and SQLite drivers into the binary.

What credentials does the Traggo docker-compose file create?

The committed compose file sets TRAGGO_DEFAULT_USER_NAME to admin and TRAGGO_DEFAULT_USER_PASS to admin, with TRAGGO_LOG_LEVEL set to debug, and it builds from docker/Dockerfile.dev. The environment sample repeats the same admin and admin pair, commented out.

How is the Traggo version number determined?

The Makefile derives it from git describe --tags --abbrev=0 and passes it to the linker as main.BuildVersion, alongside the commit hash and a UTC build date. A binary built from the branch tip therefore reports the newest tag rather than the state of the source.

Does Traggo have a GraphQL API?

Yes. The repository holds schema.graphql and gqlgen.yml, the code generator is 99designs/gqlgen at v0.17.85, and the Makefile runs both gqlgen for the server and a yarn generate step in the ui directory, so a schema change regenerates output on both sides.

Official sources

  1. License: GPL-3.0
  2. Project website
  3. README
  4. Releases
  5. traggo/server on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/traggo-server.svg)](https://hysenlabs.com/projects/traggo-server)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/traggo-server.svg)](https://hysenlabs.com/projects/traggo-server)

Was this useful?