{"id":26604787,"url":"https://github.com/lemmih/hiit","last_synced_at":"2026-05-04T06:35:48.183Z","repository":{"id":282606046,"uuid":"948399097","full_name":"lemmih/hiit","owner":"lemmih","description":"High-intensity interval training","archived":false,"fork":false,"pushed_at":"2025-03-22T18:19:48.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T19:23:50.893Z","etag":null,"topics":["exercise","hiit-timer","hiit-workout","wasm"],"latest_commit_sha":null,"homepage":"https://hiit.erudify.org","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lemmih.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":"2025-03-14T09:14:54.000Z","updated_at":"2025-03-22T18:19:51.000Z","dependencies_parsed_at":"2025-03-15T19:46:27.106Z","dependency_job_id":null,"html_url":"https://github.com/lemmih/hiit","commit_stats":null,"previous_names":["lemmih/hiit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmih%2Fhiit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmih%2Fhiit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmih%2Fhiit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmih%2Fhiit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemmih","download_url":"https://codeload.github.com/lemmih/hiit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245162190,"owners_count":20570692,"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":["exercise","hiit-timer","hiit-workout","wasm"],"created_at":"2025-03-23T20:16:44.330Z","updated_at":"2026-05-04T06:35:48.178Z","avatar_url":"https://github.com/lemmih.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HIIT - High-Intensity Interval Training\n\nA web application for managing and tracking high-intensity interval training\nworkouts. Built with Rust and Leptos, deployed on CloudFlare Workers.\n\n## Project Overview\n\nThis application provides a minimalistic, responsive interface for executing\nHIIT workouts. It's built as a full-stack Rust application using:\n\n- Leptos framework for reactive UI components\n- Rust compiled to WebAssembly for client-side logic\n- CloudFlare Workers for serverless deployment\n- Tailwind CSS for styling\n- Nix for reproducible development environments\n\n## Installation\n\n### Installing Nix\n\nDeterminate Systems has the best Nix:\n\n```bash\n# Install Nix using Determinate Systems installer\ncurl -fsSL https://install.determinate.systems/nix | sh -s -- install --determinate\n```\n\n### Cloning the Repository\n\n```bash\ngit clone https://github.com/lemmih/hiit.git\ncd hiit\n```\n\n## Development\n\n### Running the Site Locally\n\nTo preview the site before deployment:\n\n```bash\nnix run .#preview\n# Visit http://localhost:8787 in your browser\n```\n\nDevelopment is best done by running two commands at the same time:\n\n```bash\nnix run .#local-dev\n```\n\n```bash\nnix run .#wrangler -- dev --env local\n# Visit http://localhost:8787 in your browser\n```\n\n### Building the Project\n\n```bash\n# Create a production build\nnix build .#hiit\n\n# Create a development build with better debugging\nnix build .#hiit-dev\n```\n\n## Testing\n\n### Running Checks\n\n```bash\n# Run all checks (formatting, linting, etc.)\nnix flake check\n```\n\n### Running E2E Tests\n\nE2E tests require a local installation of Firefox.\n\n```bash\nnix run .#e2e\n```\n\n## Deployment\n\n### CloudFlare Deployment\n\nThe application is configured to deploy to CloudFlare Workers. \n\n#### Prerequisites for Deployment\n\n- CloudFlare account with Workers enabled\n- Wrangler CLI authenticated with your CloudFlare account\n\n#### Custom Deployment\n\nTo deploy to your own CloudFlare account:\n\n1. Update the `wrangler.toml` file with your domain and route information:\n\n```toml\nroutes = [\n  { pattern = \"your-domain.com\", zone_name = \"your-domain.com\", custom_domain = true },\n]\n```\n\n2. Deploy using Wrangler:\n\n```bash\n# Authenticate with CloudFlare (if not already done)\nnix run .#wrangler login\n\n# Deploy to CloudFlare\nnix run .#deploy\n```\n\n#### Setting Up Required Environment Variables\n\nIf your application requires environment variables (secrets, API keys, etc.):\n\n```bash\n# Set environment variables\nnix run .#wrangler secret put SECRET_NAME\n# Then enter your secret value when prompted\n```\n\n## License\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemmih%2Fhiit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemmih%2Fhiit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemmih%2Fhiit/lists"}