{"id":15362843,"url":"https://github.com/jlai/fitness-dashboard","last_synced_at":"2025-06-13T13:08:59.433Z","repository":{"id":247006558,"uuid":"822863251","full_name":"jlai/fitness-dashboard","owner":"jlai","description":"Dashboard for viewing Fitbit stats","archived":false,"fork":false,"pushed_at":"2025-04-08T06:15:14.000Z","size":976,"stargazers_count":34,"open_issues_count":21,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-15T06:15:37.324Z","etag":null,"topics":["dashboard","fitbit","fitbit-api","fitness"],"latest_commit_sha":null,"homepage":"https://dashboard.exercise.quest","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-02T01:33:59.000Z","updated_at":"2025-04-08T06:15:18.000Z","dependencies_parsed_at":"2024-09-07T18:40:44.965Z","dependency_job_id":"eb3d93f1-45d2-4131-b081-5b3e62995aa8","html_url":"https://github.com/jlai/fitness-dashboard","commit_stats":{"total_commits":246,"total_committers":3,"mean_commits":82.0,"dds":0.04878048780487809,"last_synced_commit":"b0f22246b96f6a2cae912393bc5903159ff47ff1"},"previous_names":["jlai/fitness-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlai%2Ffitness-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlai%2Ffitness-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlai%2Ffitness-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlai%2Ffitness-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlai","download_url":"https://codeload.github.com/jlai/fitness-dashboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016641,"owners_count":21198833,"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":["dashboard","fitbit","fitbit-api","fitness"],"created_at":"2024-10-01T13:04:02.397Z","updated_at":"2025-04-15T06:15:44.481Z","avatar_url":"https://github.com/jlai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fitness Dashboard\n\nThis is a dashboard app for displaying your fitness data using the Fitbit Web API.\n\nTechnologies used:\n\n- [React](https://react.dev/)\n- [NextJS](https://nextjs.org/)\n- [Gridstack](https://gridstackjs.com/)\n- [Jotai](https://jotai.org/)\n- [Tanstack Query](https://tanstack.com/query/latest)\n\n## Live demo\n\nSee https://dashboard.exercise.quest for a live deployment.\n\n## Running a local development server\n\n### Register a Fitbit developer app\n\nGo to https://dev.fitbit.com/apps/new to register an application. You'll need this\nto be able to access the Fitbit API.\n\nSet the `OAuth 2.0 Application Type` to either Client or Personal. Personal apps will\nonly be able to access your own data, and should not be used for publicly-hosted\ndashboards.\n\nFor the redirect URL, use `http://localhost:3000/login/callback` (or the appropriate\ndomain if hosted somewhere other than localhost). You can add multiple URLs to the\nfield separated by spaces.\n\nSet the access type to read/write if you need to modify data.\n\nOnce you create the application, it will be assigned a `OAuth 2.0 Client ID`. Create a\n`.env.local` file in the same directory as this README, and put the ID in it:\n\n```\nNEXT_PUBLIC_FITBIT_OAUTH_CLIENT_ID=idgoeshere\n```\n\nIf the application type is Personal, you can enable intraday data requests\n(e.g. calories/minute) with:\n\n```\nNEXT_PUBLIC_ENABLE_INTRADAY=true\n```\n\n### Docker Compose\n\nIf you prefer Docker Compose, you can start a development server with `compose up`.\n\n### Installation\n\nInstall the latest version of [nodejs](https://nodejs.org/).\n\nClone or download this repository. Open a command line terminal to the directory,\nand run:\n\n```bash\nnpm install\n```\n\nNow you can run the server in development mode:\n\n```bash\nnpm run dev\n```\n\nTo connect, open your web browser to http://localhost:3000\n\n## Building for deployment\n\nCreate `.env.production.local` with any custom environment properties,\nor set them using environment variables if using a cloud build pipeline.\n\nBuild the static site:\n\n```bash\nnpm run build\n```\n\nUpload the files to a hosting service. Note that you'll need to configure SPA-style\nrouting so that 404's get rewritten to serve `index.html`. The process for this will\nvary by hosting provider.\n\n## Running tests\n\n### Unit tests (jest)\n\n```bash\nnpm run test\n```\n\n### UI automation tests (playwright)\n\nCreate a production build with test environment. Run this whenever you make\nchanges.\n\n```bash\nnpm run build-e2e`\n```\n\nRun tests headless:\n\n```bash\nnpx playwright test\n```\n\nRun tests with UI:\n\n```bash\nnpx playwright test --ui\n```\n\nDebug:\n\n```bash\nnpx playwright test --debug\n```\n\n## License\n\n[MIT license](LICENSE)\n\n## Contributing\n\nSince this project is early in development and will likely undergo major refactorings,\nI recommend keeping pull requests small, and open a ticket to discuss larger changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlai%2Ffitness-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlai%2Ffitness-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlai%2Ffitness-dashboard/lists"}