Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/congiary/vkonity
Service for searching for new posts from VKontakte groups and sending them a short preview in private messages.
https://github.com/congiary/vkonity
go golang vk vkontakte
Last synced: 15 days ago
JSON representation
Service for searching for new posts from VKontakte groups and sending them a short preview in private messages.
- Host: GitHub
- URL: https://github.com/congiary/vkonity
- Owner: Congiary
- License: gpl-3.0
- Created: 2022-12-08T14:16:58.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T13:11:43.000Z (9 months ago)
- Last Synced: 2024-10-10T18:21:38.656Z (about 1 month ago)
- Topics: go, golang, vk, vkontakte
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vkonity
Vkonity is a service for searching for new posts from VKontakte groups and sending them a short preview in private
messages.# Installation
1. Grab the latest version from the releases
2. Create a config file
3. Run with `vkonity -config config.toml`# Configuration
Vkonity uses `config.toml` file in the working directory as the config. You can change it by the flag `-config foo.toml`
```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"
```# Contributors
Vkonity uses some resources from [Acamar](https://github.com/xtrafrancyz/acamar)