{"id":25836036,"url":"https://github.com/bugsplat-git/my-electron-crasher","last_synced_at":"2025-03-01T01:38:57.510Z","repository":{"id":26894057,"uuid":"382643375","full_name":"BugSplat-Git/my-electron-crasher","owner":"BugSplat-Git","description":"⚡️🌩🔋 Sample Electron TypeScript application integrated with BugSplat for crash and error reporting","archived":false,"fork":false,"pushed_at":"2025-02-01T13:04:56.000Z","size":1975,"stargazers_count":8,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T11:32:38.259Z","etag":null,"topics":["bugsplat","crash","crashpad","electron","error","javascript","reporting","typescript"],"latest_commit_sha":null,"homepage":"https://docs.bugsplat.com/introduction/getting-started/integrations/cross-platform/electron","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BugSplat-Git.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":"2021-07-03T15:05:13.000Z","updated_at":"2025-01-01T20:27:16.000Z","dependencies_parsed_at":"2024-03-02T01:28:45.039Z","dependency_job_id":"61f4c3f9-0a79-4bbb-a3af-c4058456b50a","html_url":"https://github.com/BugSplat-Git/my-electron-crasher","commit_stats":{"total_commits":61,"total_committers":3,"mean_commits":"20.333333333333332","dds":0.2786885245901639,"last_synced_commit":"61ee574643814220698f3a2dcec3c30ea6e45348"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":"electron/electron-quick-start-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fmy-electron-crasher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fmy-electron-crasher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fmy-electron-crasher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fmy-electron-crasher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BugSplat-Git","download_url":"https://codeload.github.com/BugSplat-Git/my-electron-crasher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241304302,"owners_count":19941100,"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":["bugsplat","crash","crashpad","electron","error","javascript","reporting","typescript"],"created_at":"2025-03-01T01:38:56.942Z","updated_at":"2025-03-01T01:38:57.495Z","avatar_url":"https://github.com/BugSplat-Git.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![bugsplat-github-banner-basic-outline](https://user-images.githubusercontent.com/20464226/149019306-3186103c-5315-4dad-a499-4fd1df408475.png)](https://bugsplat.com)\n\u003cbr/\u003e\n# \u003cdiv align=\"center\"\u003eBugSplat\u003c/div\u003e \n### **\u003cdiv align=\"center\"\u003eCrash and error reporting built for busy developers.\u003c/div\u003e**\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://twitter.com/BugSplatCo\"\u003e\n        \u003cimg alt=\"Follow @bugsplatco on Twitter\" src=\"https://img.shields.io/twitter/follow/bugsplatco?label=Follow%20BugSplat\u0026style=social\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/K4KjjRV5ve\"\u003e\n        \u003cimg alt=\"Join BugSplat on Discord\" src=\"https://img.shields.io/discord/664965194799251487?label=Join%20Discord\u0026logo=Discord\u0026style=social\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n# my-electron-crasher\n\nThe my-electron-crasher sample demonstrates how to use how to use Electron's [Crashpad](https://chromium.googlesource.com/crashpad/crashpad/+/refs/heads/main/doc/overview_design.md) based [crashReporter](https://github.com/electron/electron/blob/master/docs/api/crash-reporter.md) for tracking native crashes with BugSplat. This sample also demonstrates BugSplat's [npm package](https://www.npmjs.com/package/bugsplat-node) to track JavaScript/TypeScript errors in your Electron application.\n\n\u003cimg width=\"1840\" alt=\"my-electron-crasher\" src=\"https://github.com/BugSplat-Git/my-electron-crasher/assets/2646053/5155fc56-4fdf-42ce-996e-6b00acdf14db\"\u003e\n\n## 🥾 Steps\n\n1. `git clone https://github.com/BugSplat-Git/my-electron-crasher`\n2. `cd my-electron-crasher \u0026\u0026 npm i`\n3. `npm start` which will run the build and upload source maps via [@bugsplat/symbol-upload](https://www.npmjs.com/package/@bugsplat/symbol-upload)\n4. Click any of the buttons in the app to test the BugSplat integration\n5. Navigate to BugSplat's [Crashes](https://app.bugsplat.com/v2/crashes) page in your web browser\n6. When prompted to log in, use the username `fred@bugsplat.com` and password `Flintstone`\n7. Click the ID of your crash to see crash details. If everything worked, you should see something that resembles the following\n\n\u003cimg width=\"1728\" alt=\"Electron Crash\" src=\"https://github.com/BugSplat-Git/my-electron-crasher/assets/2646053/b22d90af-7d59-4aea-880a-6c9033afda8e\"\u003e\n\nFor more information about getting started with Electron, check out the [Quick Start Guide](http://electron.atom.io/docs/tutorial/quick-start) within the Electron documentation. For additional help using BugSplat, check out the [documentation](https://www.bugsplat.com/docs/sdk/electron/) on our website or email support(at)bugsplat.com if you have any questions.\n\n### Native Addon\n\nIf you would like to test a crash in a Native Addon, follow the steps to configure your system for [cmake-js](https://github.com/cmake-js/cmake-js#installation) and set the `prestart` script to `npm run build:all`.\n\nGood luck!\n© BugSplat Software\n[Web](https://www.bugsplat.com) | [Twitter](https://twitter.com/BugSplatCo) | [Facebook](https://www.facebook.com/bugsplatsoftware/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsplat-git%2Fmy-electron-crasher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsplat-git%2Fmy-electron-crasher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsplat-git%2Fmy-electron-crasher/lists"}