{"id":22900611,"url":"https://github.com/p0u4a/leet-track","last_synced_at":"2025-04-01T05:14:45.189Z","repository":{"id":199722038,"uuid":"701218553","full_name":"P0u4a/leet-track","owner":"P0u4a","description":"Web app for tracking and visualising LeetCode progress.","archived":false,"fork":false,"pushed_at":"2024-04-13T06:43:55.000Z","size":375,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-13T20:56:11.576Z","etag":null,"topics":["data-visualization","leetcode","leetcode-stats","web-app"],"latest_commit_sha":null,"homepage":"https://leettrack.vercel.app","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/P0u4a.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}},"created_at":"2023-10-06T07:17:10.000Z","updated_at":"2024-04-15T13:29:25.645Z","dependencies_parsed_at":"2023-10-11T23:42:48.545Z","dependency_job_id":"dab70fc1-3525-4b12-a5e4-2584499ede89","html_url":"https://github.com/P0u4a/leet-track","commit_stats":null,"previous_names":["p0u4a/leetcode-tracker-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P0u4a%2Fleet-track","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P0u4a%2Fleet-track/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P0u4a%2Fleet-track/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P0u4a%2Fleet-track/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/P0u4a","download_url":"https://codeload.github.com/P0u4a/leet-track/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586036,"owners_count":20801028,"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":["data-visualization","leetcode","leetcode-stats","web-app"],"created_at":"2024-12-14T01:29:04.308Z","updated_at":"2025-04-01T05:14:45.173Z","avatar_url":"https://github.com/P0u4a.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LeetTrack Web App 📈\n\nRecord, track, and visualise your Leetcode progress with a single click. \n\n## Preview\n![table](https://github.com/P0u4a/leetcode-tracker-web/assets/66873325/3b3f8d62-0bcc-472e-8e09-52eab50bc15b)\n![time graph](https://github.com/P0u4a/leetcode-tracker-web/assets/66873325/b1048646-fb81-4fb1-8830-2b03758e3e8e)\n![difficulty ratios](https://github.com/P0u4a/leetcode-tracker-web/assets/66873325/12b0fb3f-a243-4616-b7d6-d05ff0f0f1af)\n![topic counts](https://github.com/P0u4a/leetcode-tracker-web/assets/66873325/053647db-017c-4a7a-a53f-c9cd60047d51)\n\n## Running Locally\n\n### Installation\n1. Clone the repository with `git clone https://github.com/P0u4a/leetcode-tracker-web.git`\n2. Run `pnpm install` to install dependencies\n3. Create a `.env.local` file in the project root\n### Database\nOn [Turso](https://turso.tech/) create a new database, note down the connection url of your new DB. Make sure you also have the Turso CLI installed. Then run `turso auth token` to get your auth token for connecting to the DB. Copy your `TURSO_AUTH_TOKEN` and `TURSO_CONNECTION_URL` values into your `.env.local` file.\n\nRun `pnpm run db:generate` to generate your SQL files from the drizzle schema. Then run `pnpm run db:push` to push the changes into your Turso database. You can customise these commands inside `package.json`.\n\n### Authentication\nRun `pnpx auth secret` to generate the `AUTH_SECRET` env variable for NextAuth. \n\nCreate a test OAuth app on your GitHub account. Set the callback URL to `http://localhost:3000/api/auth/callback/github` and copy over the client ID and client secret into your `.env.local` file, named as `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` respectively.\n\n### Running\nRun `pnpm run dev` to start the project in dev mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0u4a%2Fleet-track","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp0u4a%2Fleet-track","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0u4a%2Fleet-track/lists"}