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
@@ -100,6 +99,14 @@ To run all CI checks locally, you can run:
100
99
docker compose exec web bin/ci
101
100
```
102
101
102
+
Bun uses the isolated linker configured in `bunfig.toml`, matching the production Docker build. The development image also copies this configuration when installing dependencies. If you have an existing hoisted install, clear the contents of the `node_modules` volume and Blume's generated cache, then reinstall before running CI:
103
+
104
+
```bash
105
+
docker compose exec web sh -c 'find node_modules -mindepth 1 -delete && rm -rf .blume && bun install --frozen-lockfile'
106
+
```
107
+
108
+
This avoids mixing Sharp's native libraries with the separate libvips version used by Ruby in the production image.
109
+
103
110
_Make sure these actually pass before making a PR!_
Copy file name to clipboardExpand all lines: docs/getting-started/quick-start.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ Get up and running with Hackatime in under 5 minutes! Start tracking your coding
12
12
13
13
Visit [hackatime.hackclub.com](https://hackatime.hackclub.com) and sign up using:
14
14
15
-
- Your Hack Club Slack account (recommended)
15
+
-**Sign in with Hack Club** using your Hack Club Account
16
+
- Your Hack Club Slack account
16
17
- Email address
17
18
18
19
## Step 2: Run automated setup
@@ -96,7 +97,7 @@ Just run the automated setup script on the [Hackatime Setup Page](https://hackat
96
97
Hackatime is free, open source, privacy-focused, and includes unique features like leaderboards for Hack Club members.
97
98
</AccordionItem>
98
99
<AccordionItemtitle="Can I import my existing WakaTime data?">
99
-
Currently, data import is not supported, but you can start fresh with Hackatime while keeping your WakaTime account.
100
+
Yes! Open [Settings → Imports & Exports](https://hackatime.hackclub.com/my/settings/imports_exports), choose **WakaTime** under **Imports**, and enter your WakaTime API key to request a one-time heartbeat dump. You can follow the import's progress on that page.
100
101
</AccordionItem>
101
102
<AccordionItemtitle="Is my code data secure?">
102
103
Hackatime only tracks metadata (file names, languages, project names) - never your actual code content. All data is encrypted in transit.
|`read`| View basic info about the user's Hackatime account | No |
29
-
|`admin`| Access the [Admin API](#admin-api-access) on the authorizing admin's behalf. | No |
29
+
|`admin`| Access the [Admin API](#admin-api-access) on the authorizing user's behalf, subject to their role permissions. | No |
30
30
31
31
If you don't specify any scopes, only the `profile` scope is granted.
32
32
@@ -39,6 +39,7 @@ scope=profile+read
39
39
### Admin scope restrictions
40
40
41
41
- Only **admin+** users (`admin`, `superadmin`, `ultraadmin`) can attach the `admin` scope to an OAuth application.
42
+
-**Viewers and admin+ users** (`viewer`, `admin`, `superadmin`, `ultraadmin`) can authorize an approved application requesting the `admin` scope. The token does not grant permissions beyond the authorizing user's role.
42
43
- Apps with the `admin` scope must be **confidential** (server-side clients that can keep a secret).
43
44
-**This scope requires approval from Hack Club HQ to use.** It won't work if you try to use it without permission!
44
45
@@ -107,7 +108,7 @@ POST https://hackatime.hackclub.com/oauth/token
107
108
{
108
109
"access_token": "abc123...",
109
110
"token_type": "Bearer",
110
-
"expires_in": 504576000,
111
+
"expires_in": 504911232,
111
112
"scope": "profile read",
112
113
"created_at": 1700000000
113
114
}
@@ -236,6 +237,14 @@ Returns the user's most recent heartbeat.
236
237
}
237
238
```
238
239
240
+
If the user has no heartbeats (excluding setup test entries), the endpoint returns **200 OK** with:
241
+
242
+
```json
243
+
{
244
+
"heartbeat": null
245
+
}
246
+
```
247
+
239
248
### GET /api/v1/authenticated/api_keys
240
249
241
250
Returns the user's Hackatime API key (creates one if none exists).
0 commit comments