{"id":18277760,"url":"https://github.com/ctnicholas/ctnicholas-umami-3","last_synced_at":"2025-04-09T04:36:35.216Z","repository":{"id":128689893,"uuid":"525013756","full_name":"CTNicholas/ctnicholas-umami-3","owner":"CTNicholas","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-15T14:38:39.000Z","size":5433,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T22:48:15.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CTNicholas.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":"2022-08-15T14:14:37.000Z","updated_at":"2022-08-15T14:16:00.000Z","dependencies_parsed_at":"2023-06-04T16:30:34.031Z","dependency_job_id":null,"html_url":"https://github.com/CTNicholas/ctnicholas-umami-3","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/CTNicholas%2Fctnicholas-umami-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fctnicholas-umami-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fctnicholas-umami-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fctnicholas-umami-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CTNicholas","download_url":"https://codeload.github.com/CTNicholas/ctnicholas-umami-3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980830,"owners_count":21027803,"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":[],"created_at":"2024-11-05T12:20:50.442Z","updated_at":"2025-04-09T04:36:34.709Z","avatar_url":"https://github.com/CTNicholas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# umami\n\nUmami is a simple, fast, privacy-focused alternative to Google Analytics.\n\n## Getting started\n\nA detailed getting started guide can be found at [https://umami.is/docs/](https://umami.is/docs/)\n\n## Installing from source\n\n### Requirements\n\n- A server with Node.js version 12 or newer\n- A database. Umami supports [MySQL](https://www.mysql.com/) and [Postgresql](https://www.postgresql.org/) databases.\n\n### Install Yarn\n\n```\nnpm install -g yarn\n```\n\n### Get the source code and install packages\n\n```\ngit clone https://github.com/umami-software/umami.git\ncd umami\nyarn install\n```\n\n### Configure umami\n\nCreate an `.env` file with the following\n\n```\nDATABASE_URL=connection-url\n```\n\nThe connection url is in the following format:\n```\npostgresql://username:mypassword@localhost:5432/mydb\n\nmysql://username:mypassword@localhost:3306/mydb\n```\n\n### Build the application\n\n```bash\nyarn build\n```\n\n### Create database tables\n\n```bash\nyarn update-db\n```\n\nThis will also create a login account with username **admin** and password **umami**.\n\n### Start the application\n\n```bash\nyarn start\n```\n\nBy default this will launch the application on `http://localhost:3000`. You will need to either\n[proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server\nor change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly.\n\n## Installing with Docker\n\nTo build the umami container and start up a Postgres database, run:\n\n```bash\ndocker-compose up\n```\n\nAlternatively, to pull just the Umami Docker image with PostgreSQL support:\n```bash\ndocker pull docker.umami.is/umami-software/umami:postgresql-latest\n```\n\nOr with MySQL support:\n```bash\ndocker pull docker.umami.is/umami-software/umami:mysql-latest\n```\n\n## Getting updates\n\nTo get the latest features, simply do a pull, install any new dependencies, and rebuild:\n\n```bash\ngit pull\nyarn install\nyarn build\nyarn update-db\n```\n\nTo update the Docker image, simply pull the new images and rebuild:\n\n```bash\ndocker-compose pull\ndocker-compose up --force-recreate\n```\n\n## License\n\nMIT\n\n## Deploys\nDeploy 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fctnicholas-umami-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctnicholas%2Fctnicholas-umami-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fctnicholas-umami-3/lists"}