A simple and powerful web UI to monitor, explore, and interact with your NATS in real time.
2.0K

A modern, web-based administration interface for NATS Server
Demoโ โข Featuresโ โข Quick Startโ โข Installationโ โข Documentationโ โข Contributingโ
HeyNATS is a modern, intuitive web-based administration interface for NATS Serverโ . It provides a user-friendly dashboard to manage NATS connections, streams, consumers, and key-value stores without needing command-line expertise.
Think of it as "phpMyAdmin for NATS" - making NATS server management accessible through a beautiful, responsive web interface.
Experience HeyNATS without any setup! Try our live demo using the public NATS server:
Connection Details:
Host: demo.nats.io
Port: 4222
Authentication: None required
Login Screen

Dashboard Overview

๐ก Tip: The demo server is public, so you might see data from other users. This is normal and demonstrates HeyNATS's real-time capabilities!
heynats/
โโโ main.go # Go server entry point
โโโ internal/ # Backend Go modules
โ โโโ api/ # API handlers (NATS, KV, Streams)
โ โโโ infrastructure/ # Router and middleware
โ โโโ model/ # Data models
โ โโโ pkg/ # NATS client package
โโโ client/ # React frontend application
โ โโโ src/
โ โ โโโ components/ # Reusable UI components
โ โ โโโ pages/ # Page components
โ โ โโโ hooks/ # Custom React hooks
โ โ โโโ lib/ # Utilities and API client
โ โ โโโ providers/ # Context providers
โ โโโ dist/ # Built frontend (served by Gin)
โ โโโ package.json
โโโ docs/ # Documentation
โโโ Makefile # Build automation
โโโ build-and-run.sh # Quick start script
โโโ dev.sh # Development mode script
โโโ docker-compose.yml # Docker setup
No installation needed - just try HeyNATS with our demo setupโ using demo.nats.io.
The fastest way to get HeyNATS running on your machine:
# Clone the repository
git clone https://github.com/Astergaze-Solutions/heynats.git
cd heynats
# Quick build and run (recommended for first-time users)
./build-and-run.sh
# Open your browser to http://localhost:5000
That's it! HeyNATS will be running and ready to connect to your NATS server.
# Install pnpm globally
npm install -g pnpm
# Verify installations
go version # Should be 1.24.0+
node --version # Should be 18+
pnpm --version
Clone the repository
git clone https://github.com/Astergaze-Solutions/heynats.git
cd heynats
Install dependencies
# Install all dependencies (Go + Node.js)
make install
# Or manually:
go mod tidy
cd client && pnpm install && cd ..
Setup development tools (Optional but recommended)
# Install lefthook for Git hooks
go install github.com/evilmartians/lefthook@latest
lefthook install
# Install Go development tools
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/air-verse/air@latest # For hot reload
# Build and run in one command
./build-and-run.sh
# Or using Makefile
make run
# Start both frontend and backend with hot reload
./dev.sh
# Or using Makefile
make dev-full
Access HeyNATS: Open http://localhost:5000โ in your browser
Create a Connection: Click "New Connection" and configure:
For Demo/Testing:
nats://demo.nats.io:4222For Local Development:
nats://localhost:4222 (default local NATS server)Start Managing: Once connected, you can:
# Development
make dev-full # Start both frontend and backend with hot reload
make dev # Start only React dev server
./dev.sh # Alternative script for development mode
# Production
make run # Build and run production version
./build-and-run.sh # Quick production build script
# Building
make build # Build both frontend and backend
make build-client # Build only React frontend
# Utilities
make install # Install all dependencies
make clean # Clean build artifacts
make help # Show all available commands
:5173 with hot reload and proxies API calls to :5000:5000 serving both API endpoints and static filesair for hot reload)Run HeyNATS with Docker Compose:
# Start HeyNATS with NATS server
docker-compose up -d
# Access at http://localhost:5000
# NATS server available at nats://localhost:4222
# Run Go tests
go test ./...
# Run frontend tests
cd client && pnpm test
# Run linting
make lint # Lint both Go and TypeScript
cd client && pnpm lint # Frontend only
We welcome contributions! Please read our Contributing Guidelinesโ for detailed information on:
Quick start for contributors:
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-feature# Clone your fork
git clone https://github.com/your-username/heynats.git
cd heynats
# Install dependencies
make install
# Setup pre-commit hooks
lefthook install
# Start development
make dev-full
docker buildx build --platform linux/amd64,linux/arm64 -t <image-name> --push .
This project is licensed under the MIT License - see the LICENSE.mdโ file for details.
We're grateful to all the amazing people who have contributed to HeyNATS! ๐
Made with contrib.rocksโ .
Want to see your profile here? We'd love your contributions! Check out our Contributing Guidelinesโ to get started.
Interested in becoming a maintainer? Contribute regularly and reach out to us!
Made with โค๏ธ by the Astergaze Solutionsโ team
โญ Star this project if you find it helpful!
Content type
Image
Digest
sha256:6a2b889c3โฆ
Size
11.8 MB
Last updated
6 months ago
docker pull mukezhz/heynats