{"id":23084319,"url":"https://github.com/swetrix/swetrix-fe","last_synced_at":"2025-07-25T10:33:30.084Z","repository":{"id":36961533,"uuid":"349225635","full_name":"Swetrix/swetrix-fe","owner":"Swetrix","description":"Frontend for the main website of Swetrix (swetrix.com).","archived":false,"fork":false,"pushed_at":"2024-04-28T15:06:34.000Z","size":26822,"stargazers_count":47,"open_issues_count":9,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T11:38:57.319Z","etag":null,"topics":["analytics","docker","privacy","react","remix","remix-run","self-hosted","selfhosted","swetrix","web-analytics"],"latest_commit_sha":null,"homepage":"https://swetrix.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Swetrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"swetrix","ko_fi":"andriir"}},"created_at":"2021-03-18T21:47:46.000Z","updated_at":"2024-05-02T17:50:09.926Z","dependencies_parsed_at":"2023-02-15T13:45:42.052Z","dependency_job_id":"ec9e594c-1c70-47aa-8187-6561bcd2f7da","html_url":"https://github.com/Swetrix/swetrix-fe","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Swetrix/swetrix-fe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fswetrix-fe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fswetrix-fe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fswetrix-fe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fswetrix-fe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swetrix","download_url":"https://codeload.github.com/Swetrix/swetrix-fe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fswetrix-fe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266990930,"owners_count":24017732,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["analytics","docker","privacy","react","remix","remix-run","self-hosted","selfhosted","swetrix","web-analytics"],"created_at":"2024-12-16T15:51:49.382Z","updated_at":"2025-07-25T10:33:29.999Z","avatar_url":"https://github.com/Swetrix.png","language":"TypeScript","funding_links":["https://github.com/sponsors/swetrix","https://ko-fi.com/andriir"],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e This repository has been archived as it has been merged with our backend repository to create a monorepo. The frontend source code can be found [here](https://github.com/Swetrix/swetrix/tree/main/web).\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://swetrix.com/assets/logo_white.png\"\u003e\n  \u003cimg alt=\"\" src=\"https://swetrix.com/assets/logo_blue.png\" height=\"80\"\u003e\n\u003c/picture\u003e\n\u003cbr /\u003e\u003cbr /\u003e\n\n[![Dockerhub pulls](https://img.shields.io/docker/pulls/swetrix/swetrix-fe.svg?style=flat)](https://hub.docker.com/r/swetrix/swetrix-fe)\n[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/swetrix/swetrix-fe/issues)\n\n## Description\n\nSwetrix is a privacy-oriented, simple and fully cookie-less web analytics service.\\\nIt provides lots of metrics like unique visitors, live visitors monitoring, custom events, pageviews and many more.\n\nThe service also supports many other features, like dashboard metrics \u0026 GDPR exports, email reports and more.\n\nThe project's purpose is to fight web analytics giants like Google Analytics while providing better quality and experience of using service.\n\n## License\n\nSwetrix is released under the AGPL v3.0 licence, see [LICENSE](LICENSE).\n\n## Install Swetrix\n\nSee the API installation process at https://github.com/Swetrix/swetrix-api#readme. \\\nTo selfhost the frontend part of Swetrix, you simply need to set up `.env` variables, install the dependencies (`npm i`), build the code (`npm run build`) and host it as a regular React application ([how to host react apps](https://create-react-app.dev/docs/deployment/)).\\\nOn production, swetrix.com uses Cloudflare Pages to host the frontend part of the application.\\\nThe minimum supported NodeJS version is v14.\n\n### Docker Setup\n\nSwetrix provides a Docker Image based on Alpine, Nginx and Node.\nTo use it you just just pull `swetrix/swetrixfe` from dockerhub.\n\n#### Docker Environment Variables\n\nThe following environment variables are available, alongside their default values.  \n`API_URL` = `https://example.com/` | The URL of the Swetrix API  \n`TZ` = `Etc/UTC` | Sets the Timezone of the Container\n\n## Bugs and security\n\nSwetrix is open to pull-requests. Feel free to propose new features or submit bug requests via pull reuqests.\\\nFor severe security issues, please contact us at security@swetrix.com\n\n## Contributions\n\nContributions are welcome! You can find and pick any task on our [public roadmap](https://github.com/orgs/Swetrix/projects/2) page.\\\nFeel free to also offer any feature or improvement proposal, all of it is highly appreciated!\\\nYou can also contribute translations on your [Crowdin](https://crowdin.com/project/swetrix) page.\n\n## Contact\n\nYou can contact us via email at contact@swetrix.com\n\n## Donate\n\nYou can support the project by donating us at https://ko-fi.com/andriir \\\nWe can only run our services by once again asking for your financial support!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fswetrix-fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswetrix%2Fswetrix-fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fswetrix-fe/lists"}