You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hakatime is a server implementation of [Wakatime](https://wakatime.com/). It provides a single API endpoint
9
-
(`/api/v1/users/current/heartbeats.bulk`) that the Wakatime client can use to send heartbeats containing info
10
-
about your coding activity.
8
+
Hakatime is a server implementation of [Wakatime](https://wakatime.com/). You can use it as a self-hosted alternative.
11
9
12
10
It comes together with a dashboard which provides a graphical representation of the collected data.
13
11
14
12
## Features
15
13
16
-
- Total activity view.
17
-
- Per project activity view.
18
-
- User registration & login.
19
-
- Import data from Wakatime.
20
-
- Badge generation for a project (using shields.io compatible endpoint). [](https://hakatime-demo.mtx-dev.xyz/badge/svg/f8c0f834-3747-4d3f-965b-6fa08c6dea94?days=7)
21
-
- API token management.
14
+
- Import Wakatime activity using an API token and a range of dates.
15
+
- User registration & login through the UI.
16
+
- Badge generation for a project that displays that total amount of hours spent for a configurable
17
+
time period. [](https://hakatime-demo.mtx-dev.xyz/badge/svg/f8c0f834-3747-4d3f-965b-6fa08c6dea94?days=7)
18
+
- Global and per project charts
19
+
- Breakdown by project or language.
20
+
- Breakdown by day of week and hour of the day.
21
+
- Timeline of activity for a configurable time-frame.
22
+
- Total time spent per file.
23
+
- API token management & generation.
22
24
23
25
## Demo
24
26
@@ -150,9 +152,8 @@ npm run dev # Development server with hot reloading.
150
152
151
153
### Database
152
154
153
-
The server needs a database to store its data, so we will have to create a PostgreSQL instance and initialize
154
-
it with the schema found in the [docker/](docker/) directory. You can use the provided solution using
155
-
docker-compose (`docker-compose up -d`) or do it manually, depending on your system.
155
+
The server needs a database to store its data, so we will have to create a PostgreSQL instance.
156
+
Hakatime will take care of initializing an empty database and performing the necessary migrations.
156
157
157
158
### Server
158
159
@@ -173,8 +174,8 @@ hakatime run
173
174
### Dashboard
174
175
175
176
1. Point your browser to [http://localhost:8080](http://localhost:8080)
176
-
2.Create a new user.
177
-
3. Create an API token and set up your Wakatime client with it.
177
+
2.Navigate to the registration page and create a new user.
178
+
3. Create an API token from the UI and set up your Wakatime client with it.
0 commit comments