Error tracking backend generating git repository issues compatible with the Sentry SDK.
| lib | ||
| .gitignore | ||
| config.example.json | ||
| index.js | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
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
- Get git platform account tokens
- Get a Gitea account token :
/user/settings/applications - Get a GitHub account token (
public_reposcope required for public repos,reposcope required for private repos)
- 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
- Update the configuration file
port(integer) : web server port, to be used in Sentry DSN or virtual hostaccounts(array) : git platform accountsaccounts[].type(string) : git platform type, must begiteaorgithubaccounts[].token(string) : git platform account tokenaccounts[].host(string) : git platform host
projects(array) : Sentry projectsprojects[].account(integer) :accounts[]index (starts at 1)projects[].repository(string) : git platform repository name inuser/repoororg/repoformat
maxBreadcrumbsCount(integer) : max Sentry breadcrumbs countignoredIssuesLabel(string) : git platform issue label to ignore further reports
- Start the server
yarn start
- Open
config.jsonto get auto-generated 32-chars project IDs to be used in Sentry DSNs
Sentry DSN format : protocol://key@host/index
protocol=httporhttpskey=projects[].keyindex=projects[]index (starts at 1)