{"id":22796708,"url":"https://github.com/quat1024/daily-challenge","last_synced_at":"2025-03-30T18:15:41.366Z","repository":{"id":251696646,"uuid":"838152468","full_name":"quat1024/daily-challenge","owner":"quat1024","description":"Daily challenge scraper + learning deno, oauth, ts and such","archived":false,"fork":false,"pushed_at":"2024-08-11T01:38:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-02-05T20:39:10.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quat1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-05T03:56:05.000Z","updated_at":"2024-08-11T01:38:23.000Z","dependencies_parsed_at":"2025-02-05T20:37:54.448Z","dependency_job_id":"7aeddfaf-88a3-4cda-892e-a57923aaa15e","html_url":"https://github.com/quat1024/daily-challenge","commit_stats":null,"previous_names":["quat1024/daily-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quat1024%2Fdaily-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quat1024%2Fdaily-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quat1024%2Fdaily-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quat1024%2Fdaily-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quat1024","download_url":"https://codeload.github.com/quat1024/daily-challenge/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358321,"owners_count":20764366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T05:14:25.969Z","updated_at":"2025-03-30T18:15:41.304Z","avatar_url":"https://github.com/quat1024.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# daily challenge scraper\n\nReally an excuse to play with the osu! api, learn oauth and stuff.\n\n## Usage\n\n### Making an osu! oauth app\n\n* On the osu! website, click Settings, scroll down to OAuth, click New OAuth Application.\n* Choose a name (doesn't matter) and set the \"application callback URL\" to `http://localhost:1237/oauth-redirect/`.\n* Create the file `./private/oauth-app.json` with the following contents:\n\n```json\n{\n  \"client_id\": \"YOUR CLIENT ID\",\n  \"client_secret\": \"YOUR CLIENT SECRET)\",\n  \"redirect_uri\": \"http://localhost:1237/oauth-redirect/\"\n}\n```\n\nDo not share the contents of `./private/oauth-app.json`.\n\n### Running the program\n\n* Install `deno`.\n* Run `deno task run`.\n* Program will prompt you to authorize your account. Open the URL dumped into the console and authorize on osu!'s website.\n  * Your token will be saved in `./private/auth-token.json`. Do not share this file.\n  * TODO: After 24 hours the token will go stale, you'll have to manually delete this file to reauthenticate.\n  * I should refresh the token when it's used, detect when it's expired and prompt to sign in again, etc.\n* Program will run.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquat1024%2Fdaily-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquat1024%2Fdaily-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquat1024%2Fdaily-challenge/lists"}