Skip to content
AIPEACMSPublic

About

SDSC Telegram bot, full dart backend

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SDSC Bot

Telegram bot for volunteer availability and allocation.

Pure Dart (televerse + sqlite3), long-polling, no webhook.

Run

export TELEGRAM_TOKEN=...  # required
export CONSOLE_ID=...      # required 
dart pub get
dart run bin/main.dart

Test / lint

dart pub get
./tool/test-affected.sh
./tool/test-affected.sh --all
dart analyze

Pass --base <git-ref> to include committed changes since a base reference, or --all to run the complete suite. CI always runs the full suite.

Deploy

Primary — GitHub Releases + sdsc.sh:

  1. Bump pubspec.yaml + move CHANGELOG [Unreleased] to the new version.
  2. Tag the build: git tag v0.2.0 && git push --tags - GitHub Actions builds the bundle for both amd64 and aarch64 and publishes them as sdsc-bot-<version>-amd64.tar.gz and sdsc-bot-<version>-arm64.tar.gz.
  3. As an administrator, run ./sdsc.sh update (latest) or ./sdsc.sh update v0.2.0 (pinned). sdsc.sh detects the machine's architecture and fetches the matching bundle.

Fallback — manual copy: ./deploy.sh builds the bundle locally.

License

  • This project is licensed under the EUPL-1.2 License.

About

SDSC Telegram bot, full dart backend

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages