OtterTime is an open-source, self-hostable time tracking server compatible with WakaTime. If you want to figure out how long you're spending on code to e.g. bill for consulting hours (or simply because you're curious about the stats!), setup OtterTime in two minutes and get started!
Sign in to OtterTime, then go to the setup page and copy and paste the relevant command for your platform.
The installer's code is here, and supports VSCode, VSCode forks like Cursor and Windsurf, and most JetBrains IDEs.
Set the following .env
variables:
{
DATABASE_URL: z.string().url(),
BETTER_AUTH_SECRET: z.string(),
GITHUB_CLIENT_SECRET: z.string(),
RESEND_API_KEY: z.string().startsWith("re_"),
RESEND_FROM_EMAIL: z.string().email(),
RESEND_POSTAL_ADDRESS: z.string().optional(),
SENTRY_ORG: z.string(),
SENTRY_PROJECT: z.string(),
SENTRY_AUTH_TOKEN: z.string(),
PORT: z.coerce.number().default(7676),
FRONTEND_DOMAIN: z.string().url(),
SESSION_STORAGE_SECRET: z.string(),
VITE_GITHUB_CLIENT_ID: z.string(),
VITE_SENTRY_DSN: z.string(),
}
Then, run:
bun install
bun dev
Licensed under the GNU Affero General Public License v3.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this application by you, as defined in the GNU Affero General Public License v3.0, shall be licensed as above, without any additional terms or conditions.