{"id":18805771,"url":"https://github.com/mskian/umami-conf","last_synced_at":"2025-10-15T16:19:42.911Z","repository":{"id":98187693,"uuid":"290398851","full_name":"mskian/umami-conf","owner":"mskian","description":"Umami Self Hosted Analytics Cloud VPS ☁ Configuration 🔧","archived":false,"fork":false,"pushed_at":"2020-08-26T05:36:08.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T21:14:10.426Z","etag":null,"topics":["analytics","analytics-tracking","charts","google-analytics","statistics","umami","webanalytics"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mskian.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":"2020-08-26T04:54:49.000Z","updated_at":"2023-08-21T13:32:52.000Z","dependencies_parsed_at":"2023-06-29T18:15:21.184Z","dependency_job_id":null,"html_url":"https://github.com/mskian/umami-conf","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/mskian%2Fumami-conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fumami-conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fumami-conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Fumami-conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskian","download_url":"https://codeload.github.com/mskian/umami-conf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742365,"owners_count":19689308,"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":["analytics","analytics-tracking","charts","google-analytics","statistics","umami","webanalytics"],"created_at":"2024-11-07T22:44:57.745Z","updated_at":"2025-10-15T16:19:37.863Z","avatar_url":"https://github.com/mskian.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# umami\n\nUmami Self Hosted Analytics Cloud VPS ☁ Configuration 🔧\n\n\u003e Umami is a simple, fast, website analytics alternative to Google Analytics.\n\nInstall and Setup Umami on Ubuntu Cloud VPS Server ⚙\n\n## Requirements\n\n- Cloud VPS\n- OS - Ubuntu 20.04 LTS\n- Node.JS LTS Version\n- MYSQL 8\n- Nginx + Reverse Proxy\n- Certbot for Free SSL\n- Systemd Service for Run the APP Permanently\n- Git for Clone and Update the Software\n\n## installation\n\n- install and setup umami\n\n```sh\ncd /var/www/\ngit clone https://github.com/mikecao/umami.git\ncd umami\nnpm install\n```\n\n- Create database tables\n\n```sh\ncd /var/www/umami\nmysql -u username -p databasename \u003c sql/schema.mysql.sql\n```\n\n- Create `.env` file for database connection and Hash salt in the umami cloned/downloaded Folder `/var/www/umami`\n\n```sh\ntouch .env\nnano .env\n```\n\n```sh\nDB_USER=username\nDB_PASSWORD=password\nDB_HOST=localhost\nDB_PORT=3306\nDB_NAME=databasename\nDATABASE_URL=mysql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}\n\nHASH_SALT=somerandomstring\n```\n\n\u003e Generate Hash Salt from - \u003chttps://bitwarden.com/password-generator/\u003e\n\n- Build the Package\n\n```sh\nnpm run build\n```\n\n- Start the server\n\n```sh\nnpm start\n```\n\n- Bash script for start the app via systemd service - \u003chttps://github.com/mskian/umami-conf/blob/master/start.sh\u003e\n- create systemd service for Run the App forever - \u003chttps://github.com/mskian/umami-conf/blob/master/stats.service\u003e\n- Nginx + Reverse Proxy + SSL Setup \u003chttps://github.com/mskian/umami-conf/blob/master/stats.conf\u003e\n\n## Firewall\n\nif you enabled the ufw on your Server then allow the umami port and MYSQL port\n\n```sh\nufw allow 3000\nufw allow mysql\nufw reload\n```\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Fumami-conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskian%2Fumami-conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Fumami-conf/lists"}