{"id":13534038,"url":"https://github.com/meldiron/tmstats","last_synced_at":"2026-04-09T16:32:39.733Z","repository":{"id":37543210,"uuid":"482339095","full_name":"Meldiron/tmstats","owner":"Meldiron","description":"A medal calendar that shows overview of all Trackmania medals an user achieved.","archived":false,"fork":false,"pushed_at":"2022-10-10T13:59:28.000Z","size":2530,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T13:52:03.354Z","etag":null,"topics":["appwrite","svelte","tailwindcss"],"latest_commit_sha":null,"homepage":"https://www.tmstats.eu","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Meldiron.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}},"created_at":"2022-04-16T19:06:52.000Z","updated_at":"2022-05-06T08:13:03.000Z","dependencies_parsed_at":"2023-01-19T12:32:47.335Z","dependency_job_id":null,"html_url":"https://github.com/Meldiron/tmstats","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/Meldiron%2Ftmstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Ftmstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Ftmstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Ftmstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meldiron","download_url":"https://codeload.github.com/Meldiron/tmstats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859016,"owners_count":19708857,"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":["appwrite","svelte","tailwindcss"],"created_at":"2024-08-01T07:01:25.623Z","updated_at":"2026-04-09T16:32:39.727Z","avatar_url":"https://github.com/Meldiron.png","language":"Svelte","readme":"# 🥇 TMStats\n\n![Cover](https://raw.githubusercontent.com/Meldiron/tmstats/master/static/cover_tmstats.png)\n\n## 👋 Introduction\n\nTMStats is a medal tracker that shows overview of all Trackmania medals an user achieved. The website allows user to share campaign, weekly, or daily maps medals with anyone.\n\nProject focuses on multiple aspects and features:\n\n- [x] Track of the day (TOTD) medals\n- [x] Campaign medals\n- [x] Weekly shorts medals\n- [ ] Custom map medals\n- [ ] Gamified achievement \u0026 quests system\n\nAs of right now, project has no business model and is fully free and open-sourced. Project generates expenses, and business model may be added in the future.\n\n## 🤖 Tech Stack\n\nTMStats uses multiple frontend and backend technologies with focus of simplifying the development. Main focus of tech stack in this project is to make development fast and fun, instead of making it scalable and reliable.\n\n- [TailwindCSS](https://tailwindcss.com/), a CSS library to rapidly design components using HTML classes\n- [Svelte](https://svelte.dev/), a JS library to build reactive frontend. Alongside this, application uses [TypeScript](https://www.typescriptlang.org/)\n- [Svelte Kit](https://kit.svelte.dev/), a Svelte framework to give proejct proper structure, routing and other cool features\n- [Appwrite](https://appwrite.io/), a secure backend as a service that provides 90% of necessary backend functionality out of the box\n\n## 💻 Development Setup\n\n**Frontend:**\n\n1. Install dependencies: `npm install`\n2. Spin-up HTTP server: `npm run dev`\n3. Visit [localhost:3000](http://localhost:3000/)\n\n**Backend:**\n\n\u003e You only need to spin-up backend if you man on backend changes. For frontend changes, you can skip this step as project is connected to production backend instance.\n\n1. Install [Appwrite](https://appwrite.io/docs/installation) locally, or on development server\n\n\u003e Make sure your `.env` file `_APP_FUNCTIONS_RUNTIMES` variable includes `deno-2.0` runtime. This runtime is used by all functions in this project. Changes to `.env` are applied using command `docker-compose up -d`.\n\n2. Sign up into your Appwrite instance and create project with both name and ID set to `tmStats`\n3. Install [Appwrite CLI](https://appwrite.io/docs/command-line) locally, and login: `appwrite login`\n4. Deploy collections: `appwrite push collection`\n5. Deploy functions: `appwrite push functions`\n\nTo prepare your changes from your Appwrite instance database to production one:\n\n1. Pull database changes: `appwrite init collection`\n\nTo create a new function:\n\n1. Create function: `appwrite init function`\n\n\u003e Make sure you create functions using `deno-2.0` runtime.\n\nFeel free to do manual changes to [appwrite.json](appwrite.json) if you are familiar with this file.\n\n## 🚀 Deployment\n\n**Frontend:**\n\n1. Install dependencies: `npm install`\n2. Build project: `npm run build`\n3. Deploy to adapter of a choice\n\n\u003e Frontend build does not use any special environment variables.\n\n**Backend:**\n\n1. Deploy database changes, if necessary: `appwrite push collection`\n2. Deploy function changes, if necessary: `appwrite push function`\n\n---\n\n## 📚 Svelte Kit Resources (Generated)\n\nEverything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).\n\n## Creating a project\n\nIf you're seeing this, you've probably already done this step. Congrats!\n\n```bash\n# create a new project in the current directory\nnpx sv create\n\n# create a new project in my-app\nnpx sv create my-app\n```\n\n## Developing\n\nOnce you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:\n\n```bash\nnpm run dev\n\n# or start the server and open the app in a new browser tab\nnpm run dev -- --open\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nnpm run build\n```\n\nYou can preview the production build with `npm run preview`.\n\n\u003e To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.\n","funding_links":[],"categories":["Showcase (Built with Appwrite 📣)"],"sub_categories":["Svelte"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeldiron%2Ftmstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeldiron%2Ftmstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeldiron%2Ftmstats/lists"}