Turn in-app bug reports and crashes into complete tracker issues.
A tester shakes the phone, describes the problem and sends. Seconds later, an issue is open on GitHub, GitLab or Bitbucket. It holds the screenshot, the device and the app version, the steps that led to the bug, and the app's logs and network requests. When Firebase Crashlytics or Sentry is connected, it also holds the matching crash.
m-Seismo is open source and built by the MicroClub of USTHB. It runs on your own server.
- Why m-Seismo
- Features
- How it works
- Repository layout
- Getting started
- Adding the SDK to your app
- Connecting trackers and crash providers
- Running in production
- Development
- Documentation
- Contributing
- License
Bug reports from mobile and web apps usually arrive incomplete. A blurry screenshot in a chat, "it doesn't work", no app version, no device, no idea what the user did before. Developers spend more time collecting context than fixing the bug.
m-Seismo captures that context at the moment of the bug, on the device, and files the issue for you:
- Testers and users report with a shake, a screenshot or a button, and can draw on the screenshot to point at the problem.
- Developers get one well-formed issue per bug in the repository they already use, with everything needed to reproduce it.
- Crashes are reported on their own at the next launch. The same crash seen again is grouped under its first issue.
- Triggers: shake the device, take a screenshot, or open the report screen from your own "Report a bug" button.
- Report screen: an annotated screenshot (pen and black-out marker for private data), then a short form: title, description, category, severity.
- Automatic context:
- device, OS, locale, network and orientation;
- app version and environment;
- breadcrumbs (screens, lifecycle, taps) and logs;
- network requests;
- feature flags and experiments.
- Crash capture: uncaught crashes are saved on the device and sent at the next launch.
- Reliable delivery: reports wait offline and are retried with the same bytes, so a report is never sent twice.
- Privacy:
- emails, phone numbers and tokens are redacted;
- secure screens are never captured;
- redaction lists are configurable.
- Issues on GitHub, GitLab or Bitbucket:
- each app connects its own account (GitHub App or OAuth);
- routing rules send each report to the right repository;
- issue templates.
- One issue per bug: reports of the same crash add a "Seen again" comment with counts and affected versions instead of a new issue.
- Crash providers:
- Firebase Crashlytics: each report is matched to its crash, and the issue gets the symbolicated trace and a link to the Firebase console;
- Sentry: the issue gets the Sentry event and a link to it.
- Server context: a Rust agent collects your services' logs and metrics around the time of the report (Docker, Kubernetes, Prometheus), redacted, over outbound-only connections.
- Dashboard:
- projects, apps and SDK keys;
- a setup wizard;
- a report list with delivery status and retry.
- Operations:
- issue status follows the tracker through webhooks;
- report retention and deletion;
- private, expiring screenshot links.
| Platform | Package | Location |
|---|---|---|
| iOS 13+ | Swift Package MSeismo |
sdks/ios |
| Android 7.0+ (API 24) | Kotlin library | sdks/android |
| Flutter (iOS and Android) | m_seismo plugin over the native SDKs |
sdks/flutter |
| Web | @m-seismo/web |
sdks/web |
| Web apps using Sentry | small ES module | sdks/web-sentry |
A React Native SDK is planned.
Edit the diagram: open docs/system-design.excalidraw on excalidraw.com.
- The SDK builds a report that follows the shared
report schema and sends it to
POST /api/v1/reportswith the app's SDK key. - The API validates the report, stores it and its screenshot in
PostgreSQL, answers
202 Acceptedand queues it on NATS JetStream. - The worker picks the repository with the project's routing rules. It checks whether the same bug already has an open issue. It fetches crash details from Crashlytics or Sentry, and server logs through the agents. Then it opens the issue or comments on the existing one.
- The dashboard shows each report and whether it was delivered, and lets owners retry failed deliveries.
| Path | What it is |
|---|---|
backend/ |
Go service: API, worker, tracker and crash-provider integrations |
frontend/ |
Dashboard: React, TanStack Router and Query, Tailwind |
agent/ |
Rust agent and coordinator for server logs and metrics |
sdks/ |
iOS, Android, Flutter and web SDKs |
spec/ |
Contracts shared by every component: report schema, ingestion API, agent protocol |
deploy/ |
Docker Compose files for local development and servers |
PRD.md |
Product requirements |
- Docker with Compose v2
make- To work on the components:
- Go 1.27+;
- Rust (version pinned in
agent/rust-toolchain.toml) withprotoc; - Node.js 20+;
- Xcode, Android SDK or Flutter for the SDKs.
git clone https://github.com/MicroClub-USTHB/m-Seismo.git
cd m-Seismo
cp deploy/.env.example deploy/.env # then fill in what you need
make dev-up # Postgres, Redis, NATS, migrations and the backend
curl localhost:8080/healthz # → 200The first owner account is created at startup from SEISMO_SUPERADMIN_EMAIL
and SEISMO_SUPERADMIN_PASSWORD in deploy/.env.
cd frontend
npm install
VITE_API_BASE_URL=http://localhost:8080/api/v1 npm run devSign in with the owner account and follow the setup wizard:
- Apps: create one app per build (web, iOS or Android).
- Repository: connect a tracker and pick the default repository.
- Log sources: optionally connect Crashlytics or Sentry.
- Categorization: optionally add routing rules.
- Keys and test: create the SDK key that goes into your app.
Every SDK needs two things from the dashboard: the server URL and the app's
SDK key (msk_…). The key only allows sending reports, so it is safe to ship
inside an app.
iOS (Swift Package Manager: add the package from sdks/ios)
import MSeismo
MSeismo.shared.configure(
Configuration(
baseURL: URL(string: "https://seismo.example.com")!,
sdkKey: "msk_…",
environment: "production",
screenshotEnabled: true
)
)Android (add the sdks/android/mseismo module)
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
MSeismo.configure(this, Configuration(
endpoint = "https://seismo.example.com",
appKey = "msk_…",
environment = "production",
))
}
}Flutter
dependencies:
m_seismo:
path: path/to/m-Seismo/sdks/flutterawait MSeismo.instance.configure(MSeismoConfig(
baseUrl: 'https://seismo.example.com',
sdkKey: 'msk_…',
environment: 'production',
release: '1.0.0',
shakeEnabled: true,
screenshotEnabled: true,
));
await MSeismo.instance.checkForPendingCrash();Web
import { init, openReportForm } from '@m-seismo/web';
init({
endpoint: 'https://seismo.example.com/api/v1/reports',
projectKey: 'msk_…',
appVersion: '1.0.0',
});
openReportForm(); // or let users press Ctrl+EnterEach SDK's README covers the platform setup (permissions, Info.plist entries)
and the full API. The README files are in sdks/ios,
sdks/android, sdks/flutter and
sdks/web.
| Integration | What you set up | Guide |
|---|---|---|
| GitHub | One GitHub App for the deployment; each app installs it on its repositories | backend/docs/github.md |
| GitLab, Bitbucket | Each app registers its own OAuth application | backend/docs/gitlab-bitbucket.md |
| Firebase Crashlytics | One Google OAuth client for the deployment; each project connects a Google account and picks its Firebase apps | backend/docs/crashlytics.md |
| Sentry | Each app connects its Sentry organization and project | backend/docs/crash-providers.md |
To link reports to Crashlytics crashes, the app writes its m-Seismo
installation ID into Crashlytics as the custom key seismo_installation_id.
The Crashlytics guide shows how on each platform.
deploy/compose.server.yml goes on top of the development stack for a
server reachable from the internet:
- Postgres is not published;
- the API listens on
127.0.0.1behind your TLS reverse proxy; - the backend refuses to start without production secrets.
make server-upEvery setting is documented in backend/.env.example.
The required ones are:
- the database URL;
- the JWT secret and the encryption keys;
- the public URL.
See deploy/README.md for the full guide.
Run from the repository root:
| Command | What it does |
|---|---|
make check |
Format check, lint, build and test the backend and the agent |
make fmt / make lint |
Format or lint the Go and Rust code |
make backend-test / make test-integration |
Backend unit tests, or integration tests with real Postgres, Redis and NATS (Docker) |
make agent-test |
Agent tests |
make flutter-check |
Format check, analyze and test the Flutter plugin |
make dev-up / make dev-logs / make dev-down |
Start, follow and stop the local stack |
make api-test |
Run the API test scripts against the local stack |
make sqlc-generate |
Regenerate the database code after changing SQL |
The SDKs build with their own tools:
- iOS:
swift testinsdks/ios; - Android:
./gradlew :mseismo:testDebugUnitTestinsdks/android; - web:
npm testinsdks/web.
CI runs all of this on every pull request.
- Backend documentation:
- architecture and data model;
- worker, routing and deduplication;
- integrations;
- API usage and testing.
- Ingestion API and report schema: the contract every SDK follows.
- Agent protocol and the agent README.
- Deployment.
- Releases and changelog.
Contributions are welcome: bug reports, fixes, new integrations and SDKs.
- Open an issue to discuss larger changes first.
- Branch from
dev, and open your pull request againstdev.mainonly receives releases. - Write commits and the PR title as Conventional Commits
(
feat(worker): …,fix(android): …). - Run
make checkand the tests of what you changed. CI must be green.
To report a security problem, please contact the maintainers privately instead of opening a public issue.
m-Seismo is released under the MIT License.