@voicybot payments and stats service https://voicybot.com
  • JavaScript 99%
  • CSS 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nikita Kolmogorov d9aa0d9dc3
Upgrade mongoose 4 -> 6 for MongoDB 8.0 (#12)
mongoose 4 ships MongoDB driver 2.2, which sends commands as OP_QUERY; MongoDB
6.0+ rejects that ("Unsupported OP_QUERY command"), so voicy-db can't move to
8.0 while this runs. mongoose 6.13 (driver 4.17) is what voicy itself uses and
works with both the current 5.0 and 8.0.

- aggregate() takes the pipeline as an array (mongoose 5+)
- count() -> estimatedDocumentCount() / countDocuments(), remove() -> deleteMany()

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 12:48:00 -07:00
.github Add funding links 2026-10-08 15:24:10 -07:00
bin Clean initial commit 2018-05-04 13:37:01 -07:00
helpers Upgrade mongoose 4 -> 6 for MongoDB 8.0 (#12) 2026-10-22 12:48:00 -07:00
img update readme 2018-05-04 13:39:43 -07:00
models add message stats 2018-11-21 20:12:06 -08:00
public Clean initial commit 2018-05-04 13:37:01 -07:00
routes Upgrade mongoose 4 -> 6 for MongoDB 8.0 (#12) 2026-10-22 12:48:00 -07:00
scripts Clean initial commit 2018-05-04 13:37:01 -07:00
views Clean initial commit 2018-05-04 13:37:01 -07:00
.env.sample Clean initial commit 2018-05-04 13:37:01 -07:00
.gitignore Clean initial commit 2018-05-04 13:37:01 -07:00
.nvmrc Run on Node 22 (Node.js Oct 2026 security release) (#11) 2026-10-21 20:09:29 -07:00
app.js Clean initial commit 2018-05-04 13:37:01 -07:00
config.js Clean initial commit 2018-05-04 13:37:01 -07:00
LICENSE Create LICENSE 2018-05-04 13:49:12 -07:00
nixpacks.toml Run on Node 22 (Node.js Oct 2026 security release) (#11) 2026-10-21 20:09:29 -07:00
package-lock.json Upgrade mongoose 4 -> 6 for MongoDB 8.0 (#12) 2026-10-22 12:48:00 -07:00
package.json Upgrade mongoose 4 -> 6 for MongoDB 8.0 (#12) 2026-10-22 12:48:00 -07:00
README.md Merge branch 'master' of https://github.com/backmeupplz/voicy-payments 2018-05-04 13:52:15 -07:00
yarn.lock Bump mpath from 0.4.1 to 0.8.4 2021-09-02 23:19:28 +00:00

Voicybot

@voicybot payments and stats service

This repository contains the code for voicybot.com payments service. It was used to process payments with stripe for Google Speech recognition seconds, however has retired to serve stats about the bot for voicybot.com. If you are looking for any other @voicybot repositories, please proceed to the main repository.

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/voicy-payments
  2. Launch the mongo database locally (preferably connect to the local instance of @voicybot database)
  3. Create .env file with VOICY_MONGO_DB_URL, ADMIN_CHAT, STRIPE_TOKEN and TELEGRAM_TOKEN
  4. Run npm i in the root folder
  5. Run npm run start

Continuous integration

Any commit pushed to master gets deployed to voicybot.com via CI Ninja.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!