Telegram publishing, the DocOps way¶
Publishing to Telegram channels from source code. Like a static site generator, but for Telegram.
Core features¶
The docops-bot is currently in early development stage. These features will be the core of docops-bot workflow:
- authoring in Markdown (and, further, rST & AsciiDoc);
- versioning with git;
- publishing, editing and removing posts with
git commit
&git push
.
Source Code¶
See the code at github.com/NickVolynkin/docops-bot.
Proof of Concept¶
The proof of concept is the first project milestone. It includes a minimal implementation of core features:
- Bot is invoked in a GitLab CI pipeline.
- Bot reads environment variables and configuration from a file (name is hardcoded).
- Bot credentials are stored in pipeline settings and provided as environment variables.
- Path to the document and channel’s name are stored in a configuration file.
- Bot reads content in Markdown from a document.
- Bot posts the content to a channel, as a new post each time.