All Projects → yoshuawuyts → Electron Crash Report Service

yoshuawuyts / Electron Crash Report Service

Licence: mit
Aggregate crash reports for Electron apps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Electron Crash Report Service

Spec Tools
Clojure(Script) tools for clojure.spec
Stars: ✭ 524 (+2982.35%)
Mutual labels:  json-schema
Cabin
🌲 Cabin is the best JavaScript and Node.js logging service and logging npm package
Stars: ✭ 622 (+3558.82%)
Mutual labels:  service
Swagger Parser
Swagger 2.0 and OpenAPI 3.0 parser/validator
Stars: ✭ 710 (+4076.47%)
Mutual labels:  json-schema
Jsonforms
Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
Stars: ✭ 542 (+3088.24%)
Mutual labels:  json-schema
Keystone
OpenStack Identity (Keystone). Mirror of code maintained at opendev.org.
Stars: ✭ 584 (+3335.29%)
Mutual labels:  service
Ipban
IPBan Monitors failed logins and bad behavior and bans ip addresses on Windows and Linux. Highly configurable, lean and powerful. Learn more at -->
Stars: ✭ 652 (+3735.29%)
Mutual labels:  service
Glance
OpenStack Image Management (Glance). Mirror of code maintained at opendev.org.
Stars: ✭ 483 (+2741.18%)
Mutual labels:  service
Quicktype
Generate types and converters from JSON, Schema, and GraphQL
Stars: ✭ 7,459 (+43776.47%)
Mutual labels:  json-schema
Polyfill Service
Automatic polyfill service.
Stars: ✭ 5,585 (+32752.94%)
Mutual labels:  service
Baloo
Expressive end-to-end HTTP API testing made easy in Go
Stars: ✭ 702 (+4029.41%)
Mutual labels:  json-schema
Json Forms
JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
Stars: ✭ 549 (+3129.41%)
Mutual labels:  json-schema
Full Stack Fastapi Postgresql
Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.
Stars: ✭ 7,635 (+44811.76%)
Mutual labels:  json-schema
Malli
Data-Driven Schemas for Clojure/Script.
Stars: ✭ 667 (+3823.53%)
Mutual labels:  json-schema
Json Schema Ref Parser
Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
Stars: ✭ 532 (+3029.41%)
Mutual labels:  json-schema
Conf
Simple config handling for your app or module
Stars: ✭ 707 (+4058.82%)
Mutual labels:  json-schema
Schm
Composable schemas for JavaScript and Node.js
Stars: ✭ 498 (+2829.41%)
Mutual labels:  json-schema
Jsonschema2pojo
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Stars: ✭ 5,633 (+33035.29%)
Mutual labels:  json-schema
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+4788.24%)
Mutual labels:  json-schema
Ipfs Deploy
Zero-Config CLI to Deploy Static Websites to IPFS
Stars: ✭ 740 (+4252.94%)
Mutual labels:  service
Pydantic
Data parsing and validation using Python type hints
Stars: ✭ 8,362 (+49088.24%)
Mutual labels:  json-schema

electron-crash-report-service

Aggregate crash reports for Electron applications


Usage

Commands

$ npm install   # Install dependencies
$ npm start     # Start service in development

Client code

var electron = require('electron')

electron.crashReporter.start({
  companyName: '<company-name>',
  productName: '<product-name>',
  submitURL: '<reporter-url>'
})

Environment variables

PORT [80]                                # Set the port the service should listen to
STORAGE_PATH [/var/crash-reports]  # Location to store crash reports
NODE_ENV [production]                    # production|development

Routes

/crash-report   POST   Submit a new crash report
/404            GET    404 handler

Peer Dependencies

None

Unit file

Save the unit file as /etc/systemd/system/electron-crash-reporter.service, and the application image as /images/electron-crash-report-service.aci

[Unit]
Description=electron-crash-report-service
Requires=network-online.target
After=network-online.target

[Service]
Slice=machine.slice
Delegate=true
CPUQuota=10%
MemoryLimit=1G
Environment=PORT=80
Environment=STORAGE_PATH=/var/crash-reports
Environment=NODE_ENV=production
ExecStart=/usr/bin/rkt run --inherit-env /images/electron-crash-report-service.aci
ExecStopPost=/usr/bin/rkt gc --mark-only
KillMode=mixed
Restart=always

You can then run it using systemctl:

$ sudo systemctl start etcd.service
$ sudo systemctl stop etcd.service
$ sudo systemctl restart etcd.service

See Also

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].