Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pskinnertech/streamr-starter-kit
Streamr Starter Kit is a simplified, ready-to-use template for visualizing real-time data from the Streamr Network. It's designed for easy customization and includes a feature to limit data points for optimal performance.
https://github.com/pskinnertech/streamr-starter-kit
decentralized-data nextjs starter-kit streamr streamr- streamr-client
Last synced: about 2 months ago
JSON representation
Streamr Starter Kit is a simplified, ready-to-use template for visualizing real-time data from the Streamr Network. It's designed for easy customization and includes a feature to limit data points for optimal performance.
- Host: GitHub
- URL: https://github.com/pskinnertech/streamr-starter-kit
- Owner: PSkinnerTech
- Created: 2023-07-26T21:37:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-27T01:16:10.000Z (over 1 year ago)
- Last Synced: 2024-04-14T10:36:34.678Z (9 months ago)
- Topics: decentralized-data, nextjs, starter-kit, streamr, streamr-, streamr-client
- Language: TypeScript
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Streamr Starter Kit
This is a starter kit for developers who want to use Streamr, a decentralized platform for real-time data. The kit provides a simple interface to connect to different data streams and visualize the data in real-time.
## Description
The Streamr Starter Kit is a Next.js application that uses the Streamr client to subscribe to data streams. It provides a simple interface to select a data stream and visualize the data and data variables in real-time. The kit is designed to be easy to use and modify, making it a great starting point for developers who want to build applications with Streamr.
## Quickstart Guide
1. Clone the repository: `git clone https://github.com/PSkinnerTech/streamr-starter-kit.git`
2. Navigate to the project directory: `cd streamr-starter-kit`
3. Install the dependencies: `npm install`
4. Create a `.env` file in the root of the project and add your Streamr private key: `PRIVATE_KEY=your_private_key`
5. Start the development server: `npm run dev`
6. Open your browser and navigate to `http://localhost:3000`## Using the Starter Kit
1. Once you've started the development server, you'll see a page with a dropdown menu and two boxes labeled "Data Stream" and "Data Variables".
2. Use the dropdown menu to select a data stream. The "Data Stream" box will display the data from the selected stream in real-time, and the "Data Variables" box will display the variable names from the data stream.
3. To switch to a different data stream, simply select a different option from the dropdown menu. The data in the "Data Stream" and "Data Variables" boxes will update to reflect the new stream.## Public Streams
The starter kit comes with two public streams:
- Weather Stream (`streams.dimo.eth/firehose/weather`)
- Node Metrics Stream (`streamr.eth/metrics/nodes/firehose/sec`)You can add more streams by modifying the `index.tsx` file.
## Contributing
Contributions are welcome! Please feel free to submit a pull request.
## License
This project is licensed under the MIT License.