Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/touk/petasos
A better user interface for https://github.com/allegro/hermes
https://github.com/touk/petasos
gui hermes kafka mes messaging pubsub streaming
Last synced: about 3 hours ago
JSON representation
A better user interface for https://github.com/allegro/hermes
- Host: GitHub
- URL: https://github.com/touk/petasos
- Owner: TouK
- License: apache-2.0
- Created: 2020-10-23T09:35:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T06:43:19.000Z (19 days ago)
- Last Synced: 2024-10-19T09:14:12.298Z (17 days ago)
- Topics: gui, hermes, kafka, mes, messaging, pubsub, streaming
- Language: TypeScript
- Homepage:
- Size: 1.78 MB
- Stars: 3
- Watchers: 23
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Petasos
New, better frontend for [Hermes](https://github.com/allegro/hermes) message broker.
# Branch conventions
- dev - development build
- main - release build## Run locally
Petasos calls Hermes Management API. You can install Hermes locally by following the [docs](https://hermes-pubsub.readthedocs.io)
or on the Kubernetes cluster with [Helm chart](https://artifacthub.io/packages/helm/touk/hermes).Set up the environmental variables:
- `HERMES_MANAGEMENT_DEFAULT`: URL to the Hermes Management API
- `HERMES_FRONTEND_DEFAULT`: URL to the Hermes Frontend API
Then run:
```
npm ci
npm start
```Application will be available at [localhost:7890](http://localhost:7890)
## Advanced settings
In the production mode, it is also possible to build the Hermes Management and Frontend modules
URLs based on the current URL. In order to do so, the following environmental variables should be defined:
- `HERMES_DOMAIN_PATTERN`: URL will be matched against this regular expression
- `HERMES_DOMAIN_MATCH_GROUP_ID`: id of the capturing group which will be used to construct the URLs (`prefix`)
- `HERMES_MANAGEMENT_ENDING`: used to build the Hermes Management URL `{prefix}-{HERMES_MANAGEMENT_ENDING}`
- `HERMES_FRONTEND_ENDING`: used to build the Hermes Frontend URL `{prefix}-{HERMES_FRONTEND_ENDING}`If any of the variables is not defined, or the regex match fails, URLs fall back to the
`HERMES_MANAGEMENT_DEFAULT` and `HERMES_FRONTEND_DEFAULT` values.