devlog-stream
v1.0.10
Published
Real-time terminal monitoring for modern developers. Stream any command's output to the [DevLog UI Dashboard](https://devlog-ui-client.vercel.app) with ease.
Downloads
74
Maintainers
Readme
🚀 devlog-stream
Real-time terminal monitoring for modern developers. Stream any command's output to the DevLog UI Dashboard with ease.
✨ Features
- Real-time Streaming: Instant log updates via WebSockets.
- Auto-Dashboard: Automatically opens your browser to view logs.
- Smart Parsing: Automatically categorizes logs into Info, Success, Warning, and Error levels.
- Robust Fallback: Automatically falls back to HTTP POST if the WebSocket connection is unstable.
- Cross-Platform: Works on Windows, macOS, and Linux.
📦 Installation
You can run it directly using npx:
npx devlog-stream listen -- <your-command>Or install it globally:
npm install -g devlog-stream🚀 Usage
Simple Command
Stream the output of a simple echo command:
devlog-stream listen -- echo "Hello from DevLog! 🚀"Development Server
Monitor your development server in real-time:
devlog-stream listen -- npm run devCustom Server/Dashboard
If you are running your own instance of the DevLog backend or frontend:
devlog-stream listen --server http://localhost:4000 --dashboard http://localhost:3000 -- npm start🛠️ Configuration
The CLI supports the following options:
| Option | Shorthand | Description | Default |
| :--- | :--- | :--- | :--- |
| --server | -s | The DevLog backend URL | https://devlog-ui-server.onrender.com |
| --dashboard | -d | The DevLog UI dashboard URL | https://devlog-ui-client.vercel.app |
| --version | -v | Show version number | - |
| --help | -h | Show help | - |
🤝 Contributing
We welcome contributions! You can find the various components of the DevLog ecosystem here:
- Frontend: GitHub Repository
- Backend: GitHub Repository
📄 License
This project is licensed under the ISC License.
