A small server rendered website that displays the most discussed issues of a repository.
Visit https://issues.deno.dev
for a live version.
Follow the steps under GitHub
section to obtain a GitHub token and
click on the button below to deploy the application.
The application uses GitHub API to fetch issues sorted by most number of comments. And we need the GitHub PAT (Personal Access Token) to communicate with the API.
Here are the steps to obtain one:
- Go to https://github.com/settings/tokens
- Click on Generate new token
- Fill the Note field for your own reference
- Scroll down (don't select any scopes) and click on Generate token
That's it. You now have a token that you can use with the application.
You can run the application on your local machine using
deployctl
.
GITHUB_TOKEN=<token> deployctl run --libs=ns,fetchevent https://raw.githubusercontent.com/denoland/deploy_examples/main/issues/mod.js
Replace <token>
with you GitHub token.