The self-hostable LogSnag alternative.
Learn more »
Website - Issue - Bug report
Loggl 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.
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
.
git clone https://github.com/MarconLP/loggl.git
Go to the project folder
cd loggl
Install packages with yarn
npm i
Set up your .env file
Duplicate .env.example
to .env
Use openssl rand -base64 32
to generate a key and add it under NEXTAUTH_SECRET
in the .env file.
DATABASE_URL
into the .env
.Authorization callback URL
to <Loggl URL>/api/auth/callback/github
replacing Loggl URL with the URI at which your application runs.Client ID
as GITHUB_ID
into the .env
.Client secret
as GITHUB_SECRET
into the .env
.Run (in development mode)
npm run dev
Distributed under the Sustainable Use License. See LICENSE.md
for more information.