{"id":13582311,"url":"https://github.com/absmach/magistrala","last_synced_at":"2026-04-02T14:47:01.025Z","repository":{"id":263227648,"uuid":"881792734","full_name":"absmach/magistrala","owner":"absmach","description":"Industrial IoT Messaging and Device Management Platform","archived":false,"fork":false,"pushed_at":"2026-03-12T10:37:40.000Z","size":142243,"stargazers_count":180,"open_issues_count":41,"forks_count":57,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-03-12T17:23:13.854Z","etag":null,"topics":["authentication","authorization","certificates-generator","coap","configuration-management","devices","edge","edge-computing","go","golang","iot","iot-gateway","iot-platform","messaging","mqtt","web-sockets"],"latest_commit_sha":null,"homepage":"https://docs.magistrala.absmach.eu","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/absmach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-01T08:37:34.000Z","updated_at":"2026-03-12T10:37:43.000Z","dependencies_parsed_at":"2025-12-26T01:09:04.790Z","dependency_job_id":null,"html_url":"https://github.com/absmach/magistrala","commit_stats":{"total_commits":1645,"total_committers":84,"mean_commits":"19.583333333333332","dds":0.8042553191489361,"last_synced_commit":"eb881690c74b6f2357115848f5ba152533561d30"},"previous_names":["absmach/supermq"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/absmach/magistrala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/absmach%2Fmagistrala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/absmach%2Fmagistrala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/absmach%2Fmagistrala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/absmach%2Fmagistrala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/absmach","download_url":"https://codeload.github.com/absmach/magistrala/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/absmach%2Fmagistrala/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31308412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["authentication","authorization","certificates-generator","coap","configuration-management","devices","edge","edge-computing","go","golang","iot","iot-gateway","iot-platform","messaging","mqtt","web-sockets"],"created_at":"2024-08-01T15:02:35.355Z","updated_at":"2026-04-02T14:47:01.021Z","avatar_url":"https://github.com/absmach.png","language":"Go","funding_links":[],"categories":["Go","mqtt","Projects"],"sub_categories":["Message Broker"],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Magistrala\n\n### A Modern IoT Platform Built on SuperMQ\n\n### Scalable • Secure • Open-Source\n\n[![Check License Header](https://github.com/absmach/magistrala/actions/workflows/check-license.yaml/badge.svg?branch=main)](https://github.com/absmach/magistrala/actions/workflows/check-license.yaml)\n[![Continuous Delivery](https://github.com/absmach/magistrala/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/absmach/magistrala/actions/workflows/build.yaml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/absmach/magistrala)](https://goreportcard.com/report/github.com/absmach/magistrala)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/absmach/magistrala)\n[![Coverage](https://codecov.io/gh/absmach/magistrala/graph/badge.svg?token=SEMDAO3L09)](https://codecov.io/gh/absmach/magistrala)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE)\n[![Matrix](https://img.shields.io/matrix/magistrala:matrix.org?style=flat-square)](https://matrix.to/#/#magistrala:matrix.org)\n\n### [Guide](https://docs.magistrala.absmach.eu) | [Contributing](CONTRIBUTING.md) | [Website](https://www.absmach.eu/magistrala) | [Chat](https://matrix.to/#/#magistrala:matrix.org)\n\nMade with ❤️ by [Abstract Machines](https://www.absmach.eu)\n\n\u003c/div\u003e\n\n## Introduction 🌍\n\nMagistrala is a cutting-edge, open-source IoT cloud platform built on top of [SuperMQ](https://github.com/absmach/supermq). It serves as a robust middleware solution for building complex IoT applications. With Magistrala, you can connect and manage IoT devices seamlessly using multi-protocol support, all while ensuring security and scalability.\n\n### Key Benefits\n\n- **Unified IoT Management**: Connect sensors, actuators and applications over various network protocols.\n- **Scalability and Performance**: Designed to handle enterprise-grade IoT deployments.\n- **Secure by Design**: Features such as mutual TLS authentication and fine-grained access control.\n- **Open-Source Freedom**: Patent-free, community-driven, and designed for extensibility.\n\n## ✨ Features\n\n- 🏢 **Multi-Tenancy**: Support for managing multiple independent domains seamlessly.\n- 👥 **Multi-User Platform**: Unlimited organizational hierarchies and user roles for streamlined collaboration.\n- 🌐 **Multi-Protocol Connectivity**: HTTP, MQTT, WebSocket, CoAP, and more (see [contrib repository](https://www.github.com/absmach/mg-contrib) for LoRa and OPC UA).\n- 💻 **Device Management and Provisioning**: Including Zero-Touch provisioning for seamless device onboarding.\n- 🛡️ **Mutual TLS Authentication (mTLS)**: Secure communication using X.509 certificates.\n- 📜 **Fine-Grained Access Control**: Support for ABAC and RBAC policies.\n- 💾 **Message Persistence**: Timescale and PostgreSQL support (see [contrib repository](https://www.github.com/absmach/mg-contrib) for Cassandra, InfluxDB, and MongoDB).\n- 🔄 **Rules Engine (RE)**: Automate processes with flexible rules for decision-making.\n- 🚨 **Alarms and Triggers**: Immediate notifications for critical IoT events.\n- 📅 **Scheduled Actions**: Plan and execute tasks at predefined times.\n- 📝 **Audit Logs**: Maintain a detailed history of platform activities for compliance and debugging.\n- 📊 **Platform Logging and Instrumentation**: Integrated with Prometheus and OpenTelemetry.\n- ⚡ **Event Sourcing**: Streamlined architecture for real-time IoT event processing.\n- 🐳 **Container-Based Deployment**: Fully compatible with Docker and Kubernetes.\n- 🌍 **Edge and IoT Ready**: Agent and Export services for managing remote IoT gateways.\n- 🛠️ **Developer Tools**: Comprehensive SDK and CLI for efficient development.\n- 🏗️ **Domain-Driven Design**: High-quality codebase and extensive test coverage.\n\n## Installation 🛠️\n\nThere are multiple ways to run Magistrala.\nFirst, clone the repository and position to it:\n\n```bash\ngit clone https://github.com/absmach/magistrala.git\ncd magistrala\n```\n\nTo run the latest stable (tagged) version, use:\n\n```bash\n# Run with latest stable tagged version\nmake run_stable\n```\n\nTo run the latest version, use:\n\n```bash\n# Run with latest development version (from main branch)\nmake run_latest\n```\n\nThe `make run_stable` command will:\n- Checkout the repository to the latest git tag\n- Update the version in the environment configuration\n- Start the services with the stable release\n\n**Note:** After running `make run_stable`, you'll be on a detached HEAD state. To return to your working branch:\n\n```bash\ngit checkout main\n```\n\n### Running on Apple Silicon (M1/M2/M3) Macs\n\nWhen running Magistrala on Apple Silicon Macs, the Makefile will automatically detect your ARM64 architecture and build Docker images locally. \n\n**If using Docker Desktop:**\n\n1. **Enable Apple Virtualization Framework**: In Docker Desktop, go to:\n   - Settings → General → Enable \"Use the new Virtualization framework\"\n   \n2. **Enable Rosetta for x86_64 Emulation**: In Docker Desktop, go to:\n   - Settings → General → Enable \"Use Rosetta for x86_64/amd64 emulation on Apple Silicon\"\n\nAfter enabling these options, restart Docker Desktop, then run `make run_stable` or `make run_latest` as usual.\n\n\n## 📤 Usage\n\n**Using the CLI :**\n\nCheck the health of a specific service using the CLI:\n\n```bash\nmake cli\n./build/cli health \u003cservice\u003e\n```\n\nReplace `\u003cservice\u003e` with the name of the service you want to check.\n\n**Using Curl :**\n\nAlternatively, use a simple HTTP `GET` request to check the platform's health:\n\n```bash\ncurl -X GET http://localhost:8080/health\n```\n\nFor additional usage examples and advanced configurations, visit the [official documentation](https://docs.magistrala.absmach.eu).\n\n## 📚 Documentation\n\nComplete documentation is available at the [Magistrala official docs page](https://docs.magistrala.absmach.eu).\n\nFor CLI usage details, visit the [CLI Documentation](https://docs.magistrala.absmach.eu/dev-guide/cli/introduction-to-cli).\n\n## 🌐 Community and Contributing\n\nJoin the community and contribute to the future of IoT middleware:\n\n- [Open Issues](https://github.com/absmach/magistrala/issues)\n- [Contribution Guide](CONTRIBUTING.md)\n- [Matrix Chat](https://matrix.to/#/#magistrala:matrix.org)\n\n## 📜 License\n\nMagistrala is open-source software licensed under the [Apache-2.0](LICENSE) license. Contributions are welcome and encouraged!\n\n## 💼 Professional Support\n\nNeed help deploying Magistrala or integrating it into your systems? Contact **[Abstract Machines](https://www.absmach.eu)** for expert guidance and support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabsmach%2Fmagistrala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabsmach%2Fmagistrala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabsmach%2Fmagistrala/lists"}