{"id":29633571,"url":"https://github.com/meshtastic/examples","last_synced_at":"2025-07-21T14:05:13.538Z","repository":{"id":302172587,"uuid":"1010874159","full_name":"meshtastic/examples","owner":"meshtastic","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-01T03:15:28.000Z","size":44,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T01:56:17.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meshtastic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-30T01:02:02.000Z","updated_at":"2025-07-08T13:01:47.000Z","dependencies_parsed_at":"2025-07-01T00:37:00.541Z","dependency_job_id":null,"html_url":"https://github.com/meshtastic/examples","commit_stats":null,"previous_names":["meshtastic/examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meshtastic/examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meshtastic","download_url":"https://codeload.github.com/meshtastic/examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshtastic%2Fexamples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265279882,"owners_count":23739840,"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":[],"created_at":"2025-07-21T14:05:10.151Z","updated_at":"2025-07-21T14:05:13.494Z","avatar_url":"https://github.com/meshtastic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meshtastic Examples\nWelcome to the `meshtastic/examples` repository! This repository is dedicated to providing easy-to-understand, getting-started code examples for interacting with the Meshtastic mesh network. Whether you're a developer looking to integrate Meshtastic into your applications or a hobbyist eager to explore its capabilities programmatically, this repository aims to be your go-to resource.\n\n## What is Meshtastic?\nMeshtastic is an open-source project that allows you to create a secure, off-grid, and long-range mesh communication network using inexpensive LoRa radios. It's perfect for hiking, camping, emergency communication, or any scenario where traditional infrastructure is unavailable or unreliable. With Meshtastic, your devices act as repeaters, extending the range of the network with each new node.\n\nThis repository focuses on demonstrating how to build software that can communicate with and leverage the Meshtastic network.\n\n## Getting Started\nTo get started with these examples, first clone the repository to your local machine:\n```\ngit clone https://github.com/meshtastic/examples.git\ncd examples\n```\n### TypeScript Examples\nThe initial set of examples will focus on TypeScript, leveraging the official Meshtastic JavaScript/TypeScript client library.\n\n### Prerequisites\n- Node.js (LTS version recommended)\n- npm or yarn or bun \n\n### Running the TypeScript (TS) Examples\nNavigate to the TypeScript examples directory:\n```\ncd ts/01-react-basic\n```\n\nInstall the dependencies:\n```\nnpm install\nor bun install\nor yarn install\n```\n\nEach example will typically have its own directory with specific instructions. Please refer to the `README.md` within each specific example directory for detailed instructions on how to configure and run it.\n\n### Repository Structure\nThe examples are organized by programming language and then by a numbered, descriptive structure\n```\n├── ts/\n│   ├── 01-react-basic/\n│   │   ├── src/\n│   │   │   ├── components/\n│   │   │   └── App.tsx\n│   │   ├── index.html\n│   │   ├── package.json\n│   │   ├── tsconfig.json \n│   │   └── vite.config.ts\n│   ├── 02-send-message/\n│   │   ├── src/\n│   │   │   └── index.ts\n│   │   └── package.json\n│   └── 03-receive-messages/\n│       ├── src/\n│       │   └── index.ts\n│       └── package.json\n├── go/\n│   └── (coming soon)\n├── python/\n│   └── (coming soon)\n└── README.md\n\n```\nAs the repository grows, you can expect to find directories for:\n- ts/: Examples using TypeScript (including React-based applications) to interact with Meshtastic devices.\n- go/: Examples using Go to interact with Meshtastic devices.\n- python/: Examples utilizing Python for various Meshtastic applications.\n- And much more!: We plan to expand to other languages and platforms as the community contributes.\n\n## Contributing \nWe welcome contributions from the community! If you have a useful Meshtastic code example in any language, or if you want to improve existing ones, please consider contributing.\n1. Fork this repository.\n2. Create a new branch for your feature or bug fix (`git checkout -b feature/your-feature-name`).\n3. Add your code examples, ensuring they are well-commented and include a clear `README.md` with setup and usage instructions.\n4. Commit your changes (`git commit -m 'feat: Add new awesome example`).\n5. Push to your branch (`git push origin feature/your-feature-name`).\n6. Open a Pull Request against the `main` branch of this repository.\nPlease ensure your code adheres to good practices and is thoroughly tested.\n\n## License\nThis project is licensed under the GNU v3 License - see the LICENSE file for details.\n\n## Resources\n- Meshtastic Official Website: https://meshtastic.org/\n\n- Meshtastic Documentation: https://meshtastic.org/docs/\n\n- Meshtastic GitHub Organization: https://github.com/meshtastic\n\n- Meshtastic Github Discussions: https://github.com/orgs/meshtastic/discussions\n\n- Meshtastic Discord: https://discord.gg/meshtastic\n\nWe hope these examples help you get started with your Meshtastic projects!ted with your Meshtastic projects!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshtastic%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshtastic%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshtastic%2Fexamples/lists"}