Vkonity is a service for searching for new posts from VKontakte groups and sending them a short preview in private messages.
- Grab the latest version from the releases
- Create a config file
- Run with
vkonity -config config.toml
Vkonity uses config.toml
file in the working directory as the config. You can change it by the flag -config foo.toml
# Notification chat IDs
Admins = [
1, #@durov
]
# Listen group IDs
Groups = [
22822305, #@vk
1, #@apiclub
]
# User or service VK token
ServiceToken = ""
# VK Bot token
MessageToken = ""
# Frequency of requests to API VK. Valid time units are "ms", "s", "m", "h".
Period = "10s"
# Message template sent to PM
Message = "🆕 New post in @public%v\n🌎 Link: https://vk.com/wall%v_%v\n🖌 Content:\n%s"
Vkonity uses some resources from Acamar