Skip to content

m1sk9/babyrite

Repository files navigation

babyrite

CI Release babyrite Apache License 2.0

babyrite is a lightweight, fast citation message Discord bot.

# Latest Release
docker pull ghcr.io/m1sk9/babyrite:latest

# Minor Release
docker pull ghcr.io/m1sk9/babyrite:v0

# Specific Release
docker pull ghcr.io/m1sk9/babyrite:v0.20.0

API Support: requires Discord API v10

Features

  • Lightweight: babyrite uses distroless as its base image and consists of a very lightweight Docker Image.
  • Fast: babyrite is developed in Rust and is very fast!
  • OSS: babyrite is open-source and licensed under the MIT License. It also provides a way to host it yourself as well as publish it as OSS.
  • Easy to Use: babyrite is very easy to use and can be deployed in seconds.

Installation

You can install babyrite using Docker. The following command will pull the latest version of babyrite.

docker pull ghcr.io/m1sk9/babyrite:v0
  • babyrite is tested on macOS and Linux (major distributions) as recommended environment.
    • Also compatible with Windows, but we recommend running it on macOS or Linux. (v0.19.0+)
  • ARM64 environments are supported (v0.16.0+)

Using Docker Compose

It is recommended to use Docker Compose when setting up babyrite. Direct startup using Docker images or binary files is also possible but not recommended.

services:
  app:
    image: ghcr.io/m1sk9/babyrite:v0
    env_file:
      - .env
    restart: always

If you are using orchestration tools such as k8s or Docker Swarm, please configure them according to their respective configuration files.

Configuration

You can customize the behavior of babyrite by using a dedicated configuration file. The settings are written in TOML format. Refer to config/config.toml for configuration items.

You can also start with the default settings without configuring. The following are the default settings used in that case.

json_logging = false
Key Description Default Value
json_logging Sets whether to output logs in JSON format. false

Environment Variables

The environment variables used by babyrite are as follows. Note that the only environment variable required for startup is DISCORD_API_TOKEN.

Key Description
DISCORD_API_TOKEN Discord API token
CONFIG_FILE Path to the configuration file (recursive path)

LICENSE

babyrite is published under Apache License 2.0.

® 2023 - 2025 m1sk9
babyrite is not affiliated with Discord.

About

A lightweight, fast citation message Discord bot.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors 6