{"id":19665407,"url":"https://github.com/vkbansal/formula1-app","last_synced_at":"2025-04-28T22:31:12.786Z","repository":{"id":41170806,"uuid":"342573996","full_name":"vkbansal/formula1-app","owner":"vkbansal","description":"F1 statistics and data-viz","archived":false,"fork":false,"pushed_at":"2025-03-31T07:32:47.000Z","size":132034,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T11:34:09.544Z","etag":null,"topics":["data-visualization","formula1","static-site-generator","statistics"],"latest_commit_sha":null,"homepage":"https://f1.vkbansal.me","language":"Astro","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/vkbansal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-02-26T12:48:54.000Z","updated_at":"2025-03-23T06:54:31.000Z","dependencies_parsed_at":"2023-01-31T10:45:44.690Z","dependency_job_id":"41798e86-94d2-4a0a-a63d-aebc32e126d2","html_url":"https://github.com/vkbansal/formula1-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkbansal%2Fformula1-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkbansal%2Fformula1-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkbansal%2Fformula1-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkbansal%2Fformula1-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vkbansal","download_url":"https://codeload.github.com/vkbansal/formula1-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251397577,"owners_count":21583034,"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","formula1","static-site-generator","statistics"],"created_at":"2024-11-11T16:22:35.918Z","updated_at":"2025-04-28T22:31:07.770Z","avatar_url":"https://github.com/vkbansal.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Formula 1 Statistics\n\nAn app for statistics and data visualizations around **The Formula 1 World Championship**. The main goal of this project is to be restricted as a Static Site and uses [Astro](https://astro.build/) as the static site generator and [Preact](https://preactjs.com/) for interactive elements.\n\n## Data Source\n\nThe data is taken from http://ergast.com/mrd/.\n\n## Local development\n\n### Prerequisites\n\n- [nodejs](https://nodejs.org/)\n- [pnpm](https://pnpm.io/)\n- [docker](https://www.docker.com/) - only required for working with data\n\n### Development\n\n- Clone the repository: `git clone git@github.com:vkbansal/formula1-app.git`\n- Change to the project directory and run `pnpm install`.\n- Run `pnpm run dev` to start the local development server. This will start Astro's development server and logs the url in console.\n- The source code resides in `src` folder.\n- All the data is stored as `.json` files under `src/content` folder to utilize [Astro's content collection API](https://docs.astro.build/en/guides/content-collections/).\n- To download latest data, run `pnpm run data:up`.\n- To update data, once newer data is downloaded:\n  - Run `docker compose up -d` to startup MariaDB and populate it with data.\n  - Run `pnpm run data:gen` to update the data. You might have to wait for about minute before running this command after you have run previous docker command in order for the database to be ready.\n- Data generation related code resides in `tools` folder.\n\n## License\n\n[MIT](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvkbansal%2Fformula1-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvkbansal%2Fformula1-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvkbansal%2Fformula1-app/lists"}