photonglass/README.md

43 lines
2.1 KiB
Markdown
Raw Normal View History

# photonglass
2024-12-26 15:03:38 +11:00
A modern, simple, distributed looking glass application that provides network insight for network operators.
2024-12-22 21:31:10 +11:00
2024-12-25 23:59:47 +11:00
[![](screenshot.png)](https://raw.githubusercontent.com/AliMickey/photonglass/7421c8a6dc1f31fef78ed5e1efb7402c89c9898c/screenshot.png)
2024-12-22 21:31:10 +11:00
2024-12-26 14:55:17 +11:00
2024-12-22 21:31:10 +11:00
## Features
2024-12-25 21:34:02 +11:00
- **Multi Device Support**: Connect to multiple devices from one single interface.
2024-12-28 15:00:26 +11:00
- **Custom Command Support**: Built dynamically to support any custom command.
2024-12-25 21:34:02 +11:00
- **Easy Deployment**: Extremely easy to deploy and scale with multiple devices.
2024-12-26 12:43:51 +11:00
- **Webhook Logging**: Log queries to a webhook channel (optional).
2024-12-26 14:56:59 +11:00
- **Rate Limiting**: Reduce service abuse by rate limiting users, 100 requests per day and 10 requests per minute by default.
2024-12-22 21:31:10 +11:00
2024-12-26 14:55:17 +11:00
## Public Instances
If you wish to list your instance on this list, please open a Github issue.
| Organisation | Instance URL |
|------------------|-----------------|
| Demo | https://photonglass.dev |
| Host Universal | https://lg.hostuniversal.com.au |
## Setup (Docker)
1. Clone repository
2024-12-25 21:35:27 +11:00
- `git clone https://github.com/AliMickey/photonglass.git`
2024-12-26 12:38:19 +11:00
2. Create an instance folder to store your config and logos/favicon
2024-12-25 21:35:27 +11:00
- `cd photonglass`
- `mkdir instance`
2024-12-26 14:55:17 +11:00
- `mkdir instance/images` # Optional
2024-12-26 13:48:33 +11:00
- `mkdir instance/ssh-keys` # Optional
2024-12-26 14:55:17 +11:00
3. Create config files and upload logos/favicon
- Refer to [CONFIGURATION.md](CONFIGURATION.md)
4. Create `docker-compose.yml`
- Refer to [CONFIGURATION.md](CONFIGURATION.md)
5. Build and deploy the container (inital build may take a minute)
2024-12-25 21:35:27 +11:00
- `docker compose up -d --build`
6. View the app at `http://IP_ADDRESS:5000`, recommend using a reverse proxy (traefik) for production use.
2024-12-22 21:31:10 +11:00
## Attribution
2024-12-26 12:39:06 +11:00
This project was inspired by [hyperglass](https://hyperglass.dev/) after having difficulty deploying it as well as being overkill for what I wanted. This project is not meant as a 1:1 replacement with hyperglass and as such is kept simple by design. At time of release only Linux servers were tested as a target device, the same device library as hyperglass is used (netmiko) so compatibility with more devices should not be an issue, just be aware it is untested.