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
Copy file name to clipboardExpand all lines: README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Made with SvelteKit, TailwindCSS & shadcn-svelte.
13
13
- RSS feeds for all packages
14
14
- Dynamically computed badges to indicate whether a package is the Latest, a Major version, a Prerelease, or a Maintenance version
15
15
- Sidebar with the number of unseen releases for each package
16
-
- ...and more!
16
+
- ...and much more!
17
17
18
18
## How does it work?
19
19
@@ -27,6 +27,20 @@ wrapper around GitHub releases.
27
27
28
28
For more info, visit the [v2 release post](https://svelte-changelog.dev/devlog/v2).
29
29
30
+
### Run locally
31
+
32
+
The main requirements to run Svelte Changelog are the `.env` entries, which you can find an example of inside the `.env.example`:
33
+
34
+
-`GITHUB_TOKEN`: a [classic GitHub token](https://github.com/settings/tokens) with the `public_repo` scope (that's it), required for API requests.
35
+
-`KV_REST_API_TOKEN` (optional): the token for the API of the KV service (Redis). You can leave it empty; an in-memory cache is used during development.
36
+
-`KV_REST_API_URL` (optional): the URL for the API of the KV service (Redis). You can leave it empty; an in-memory cache is used during development.
37
+
-`PUBLIC_POSTHOG_KEY` (optional): the token for the analytics service I use, [PostHog](https://posthog.com). You can leave it empty; analytics are disabled in dev environments.
38
+
39
+
> [!NOTE]
40
+
> If other environment variables happen to be required for linting or compilation purposes, simply add them with an empty value inside your `.env` file
41
+
42
+
That's it: your GitHub token will do most of the job, and you can run the website like any regular SvelteKit app (`pnpm i` && `pnpm dev`).
43
+
30
44
## Missing a package?
31
45
32
46
If you think I missed a package, you can either open an issue or directly contribute.
0 commit comments