Error tracking backend generating git repository issues compatible with the Sentry SDK.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
KaKi87 eacae29b5e 📝 Fix c189912 4 weeks ago
lib 🐛 Handle undefined error message use stacktrace MD5 hash 9 months ago
.gitignore 🎉 Second commit 1 year ago
README.md 📝 Fix c189912 4 weeks ago
config.example.json Ignore Sentry reports when existing issue marked with specific label (default : 'wontfix') 1 year ago
index.js Add empty root endpoint for uptime check 11 months ago
package.json 🐛 Fix duplicated issues on low interval reports 1 year ago
yarn.lock 🐛 Fix duplicated issues on low interval reports 1 year ago

README.md

glitchgit

Error tracking back-end generating git repository issues compatible with the Sentry SDK.

Idea and name inspired by GlitchTip, an alternative error tracking application compatible with the Sentry SDK.

Compatible git platforms :

Getting started

  1. Get git platform account tokens
  • Get a Gitea account token : /user/settings/applications
  • Get a GitHub account token (public_repo scope required for public repos, repo scope required for private repos)
  1. Clone the project, install its dependencies, create the configuration file
git clone https://git.kaki87.net/KaKi87/glitchgit.git
cd glitchgit
yarn install
cp config.example.json config.json
  1. Update the configuration file
  • port (integer) : web server port, to be used in Sentry DSN or virtual host
  • accounts (array) : git platform accounts
    • accounts[].type (string) : git platform type, must be gitea or github
    • accounts[].token (string) : git platform account token
    • accounts[].host (string) : git platform host
  • projects (array) : Sentry projects
    • projects[].account (integer) : accounts[] index (starts at 1)
    • projects[].repository (string) : git platform repository name in user/repo or org/repo format
  • maxBreadcrumbsCount (integer) : max Sentry breadcrumbs count
  • ignoredIssuesLabel (string) : git platform issue label to ignore further reports
  1. Start the server
yarn start
  1. Open config.json to get auto-generated 32-chars project IDs to be used in Sentry DSNs

Sentry DSN format : protocol://key@host/index

  • protocol = http or https
  • key = projects[].key
  • index = projects[] index (starts at 1)