A Telegram bot for bringing SCM experience to your chat. Example instance: @brstm_bot
Based on the SwiftyCM library
Using OpenRevolution to do file conversion to WAV.
The token is read from the TG_TOKEN environment variable.
The application uses two environment variables to specify cache locations. Useful in case of running in a container to combine with volumes configuration, or for running on an read-only state system. The files get automatically deleted after being processed.
BRSTM_ARTIFACT_LOCATION- BRSTM file storageWAV_DOWNLOADS_LOCATION- WAV file storage
The pre-built container image is available:
$ podman pull ghcr.io/freeapp2014/brstmgram:latest
Running:
$ podman run -dit -e TG_TOKEN=<your-bot-token> --name brstmgram ghcr.io/freeapp2014/brstmgram:latest
Alternatively, the image can be built using the included Dockerfile.
- BRSTMgram: Swift 5.3 or later required. OpenRevolution 2.x or later required. cURL development headers needed for the network features to function.
The revolution main converter is expected to be found asbrstmin $PATH, for example in/usr/bin. Clone this repository, then runswift package resolveto download all dependencies,swift buildto build and run withswift run. - OpenRevolution: refer to GitHub