{"id":13594746,"url":"https://github.com/MarconLP/loggl","last_synced_at":"2025-04-09T10:32:02.357Z","repository":{"id":163042735,"uuid":"636861845","full_name":"MarconLP/loggl","owner":"MarconLP","description":"Send push notifications to your phone or desktop using HTTP requests","archived":false,"fork":false,"pushed_at":"2024-04-06T21:25:01.000Z","size":2192,"stargazers_count":123,"open_issues_count":8,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T21:42:12.161Z","etag":null,"topics":["javascript","nextjs","react","t3","tailwind","trpc","typescript"],"latest_commit_sha":null,"homepage":"https://loggl.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarconLP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-05-05T20:30:49.000Z","updated_at":"2025-03-24T00:26:57.000Z","dependencies_parsed_at":"2024-01-14T04:40:00.587Z","dependency_job_id":"f7589140-fd23-4feb-bdbc-290f750538d3","html_url":"https://github.com/MarconLP/loggl","commit_stats":{"total_commits":147,"total_committers":1,"mean_commits":147.0,"dds":0.0,"last_synced_commit":"9113a1b37013287b697e4de2584ea0db78685069"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarconLP%2Floggl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarconLP%2Floggl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarconLP%2Floggl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarconLP%2Floggl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarconLP","download_url":"https://codeload.github.com/MarconLP/loggl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020592,"owners_count":21034459,"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":["javascript","nextjs","react","t3","tailwind","trpc","typescript"],"created_at":"2024-08-01T16:01:38.691Z","updated_at":"2025-04-09T10:31:59.613Z","avatar_url":"https://github.com/MarconLP.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eLoggl\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    The self-hostable LogSnag alternative.\n    \u003cbr /\u003e\n    \u003ca href=\"https://loggl.net\"\u003e\u003cstrong\u003eLearn more »\u003c/strong\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href='https://github.com/MarconLP/loggl/stargazers'\u003e\u003cimg src='https://img.shields.io/github/stars/MarconLP/loggl'  alt='Github Stars'/\u003e\u003c/a\u003e\n  \u003c!--\u003ca href=\"https://news.ycombinator.com/item?id=34279062\"\u003e\u003cimg src=\"https://img.shields.io/badge/Hacker%20News-352-%23FF6600\" alt=\"Hacker News\"\u003e\u003c/a\u003e--\u003e\n  \u003ca href=\"https://github.com/MarconLP/loggl/pulse\"\u003e\u003cimg src=\"https://img.shields.io/github/commit-activity/m/MarconLP/loggl\" alt=\"Commits-per-month\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://loggl.net\"\u003e\u003cimg src=\"https://img.shields.io/badge/Pricing-Free-brightgreen\" alt=\"Pricing\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/Marcon565\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/Marcon565?style=flat\" alt='twitter'\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://loggl.net\"\u003eWebsite\u003c/a\u003e - \u003ca href=\"https://github.com/MarconLP/loggl/issues\"\u003eIssue\u003c/a\u003e - \u003ca href=\"https://github.com/MarconLP/loggl/issues/new\"\u003eBug report\u003c/a\u003e\n\u003c/p\u003e\n\n## Loggl\n\nLoggl is an self-hostable product analytics product. Automate the collection of every event on your website or app, with no need to send data to 3rd parties. \n\n![product cover](https://github.com/marconlp/loggl/blob/main/cover.png)\n\n## Development\n\n### Setup\n\n1. Clone the repo into a public GitHub repository (or fork https://github.com/MarconLP/loggl/fork). If you plan to distribute the code, make sure to comply with our `LICENSE.md`.\n\n   ```sh\n   git clone https://github.com/MarconLP/loggl.git\n   ```\n\n2. Go to the project folder\n\n   ```sh\n   cd loggl\n   ```\n\n3. Install packages with yarn\n\n   ```sh\n   npm i\n   ```\n\n4. Set up your .env file\n   - Duplicate `.env.example` to `.env`\n   - Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the .env file.\n   - \u003cdetails\u003e\n     \u003csummary\u003eFill in the other variables\u003c/summary\u003e\n        \u003cdetails\u003e\n        \u003csummary\u003eConfigure DATABASE_URL\u003c/summary\u003e\n\n      1. Open [Railway](https://railway.app/) and click \"Start a New Project\", and select Provision \"MySQL\".\n      2. Select the MySQL App and copy the `DATABASE_URL` into the `.env`.\n\n        \u003c/details\u003e\n        \u003cdetails\u003e\n        \u003csummary\u003eObtaining the Github API Credentials\u003c/summary\u003e\n\n      1. Open [Github Developer Settings](https://github.com/settings/apps).\n      2. Next, go to [OAuth Apps](https://github.com/settings/developers) from the side pane. Then click the \"New OAuth App\" button. Make sure to set `Authorization callback URL` to `\u003cLoggl URL\u003e/api/auth/callback/github` replacing Loggl URL with the URI at which your application runs.\n      3. Copy the `Client ID` as `GITHUB_ID` into the `.env`.\n      4. Next, click \"Generate a new client secret\" and copy the `Client secret` as `GITHUB_SECRET` into the `.env`.\n\n        \u003c/details\u003e\n        \u003cdetails\u003e\n        \u003csummary\u003eObtaining the Firebase Credentials\u003c/summary\u003e\n\n      1. TODO: ADD Firebase documentation\n\n        \u003c/details\u003e\n     \u003c/details\u003e\n\n5. Run (in development mode)\n\n   ```sh\n   npm run dev\n   ```\n\n[//]: # (### E2E-Testing)\n\n[//]: # (Be sure to set the environment variable `NEXTAUTH_URL` to the correct value. If you are running locally, as the documentation within `.env.example` mentions, the value should be `http://localhost:3000`.)\n\n[//]: # (```sh)\n\n[//]: # (# In a terminal just run:)\n\n[//]: # (npm run test:e2e)\n\n[//]: # (```)\n\n## Deployment\n\n### Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FMarconLP%2Floggl\u0026env=DATABASE_URL,NEXTAUTH_SECRET,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET)\n\n[//]: # (## Contributing)\n[//]: # (Please see our contributing guide at `CONTRIBUTING.md`)\n\n## License\nDistributed under the Sustainable Use License. See `LICENSE.md` for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarconLP%2Floggl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarconLP%2Floggl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarconLP%2Floggl/lists"}