{"id":15697056,"url":"https://github.com/michael-simons/biking3","last_synced_at":"2025-05-08T22:10:43.412Z","repository":{"id":191048125,"uuid":"683498897","full_name":"michael-simons/biking3","owner":"michael-simons","description":"Database schema and Flask application for tracking mileages on bikes","archived":false,"fork":false,"pushed_at":"2025-04-11T22:58:07.000Z","size":6552,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T23:35:30.078Z","etag":null,"topics":["cycling","duckdb","python","running","sport"],"latest_commit_sha":null,"homepage":"https://biking.michael-simons.eu","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michael-simons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2023-08-26T19:00:12.000Z","updated_at":"2025-04-11T22:58:11.000Z","dependencies_parsed_at":"2024-01-15T13:21:44.670Z","dependency_job_id":"d94c85f2-d3a5-4d20-b66c-963f221eaa0e","html_url":"https://github.com/michael-simons/biking3","commit_stats":{"total_commits":85,"total_committers":1,"mean_commits":85.0,"dds":0.0,"last_synced_commit":"c2dbb7cb4be38a7e536b4b6d475171d165352986"},"previous_names":["michael-simons/biking3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-simons%2Fbiking3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-simons%2Fbiking3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-simons%2Fbiking3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-simons%2Fbiking3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael-simons","download_url":"https://codeload.github.com/michael-simons/biking3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249869026,"owners_count":21337500,"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":["cycling","duckdb","python","running","sport"],"created_at":"2024-10-03T19:11:21.569Z","updated_at":"2025-04-20T08:33:22.210Z","avatar_url":"https://github.com/michael-simons.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# biking3\n\nA collection of scripts, a database schema and a site-generator that creates https://biking.michael-simons.eu.\nThe repository is provided for educational purposes.\nThe whole software is catered for my needs and I doubt that is that useful for other people in production.\nHowever, it takes an opionated approach in building a datacentric dashboard with including spatial data. \nAs most of it is driven by SQL queries, the logic and algorithm being used are not hidden away behind some bulky front- or backendcode. \n\n## Database schema\n\nThe SQL commands have all been developed and tested with [DuckDB](https://duckdb.org) \u003e= 1.0.0.\nThey are separated in 3 categories:\n\n- Base tables (Physical ER-Diagram is [here](generator/static/docs/schema.mermaid))\n- Shared views (not particular helpful in isolation)\n- API (Views to be accessed by all sort of clients)\n\n## Site generator\n\nThe site generator is essentially a [Flask application](https://flask.palletsprojects.com/en/2.3.x/) which can be run with a local development server.\nThe `app.py` entry-point can however be run with either `run` or `build` commands.\nThe latter will freeze the site and generate static HTML files.\n\n## Tooling\n\nThe `bin` folder contains mostly shell scripts to interact with both the database and external services. \nThe notable exception is `create_tiles.java`, a Java script runnable via JBang. \nIt contains most of the logic to generate the explore tiles. \n\n## Bookmarks\n\nThe following list is a collection of projects that might be useful in adding stuff:\n\n* https://github.com/SamR1/FitTrackee\n* https://github.com/martin-ueding/geo-activity-playground\n* https://github.com/komoot/staticmap\n* https://protomaps.com\n* https://github.com/maplibre/martin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-simons%2Fbiking3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael-simons%2Fbiking3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-simons%2Fbiking3/lists"}