-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
37 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Deploy CommandReference | ||
name: Deploy babyrite docs | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
// Rust Language Server (rust-analyzer) | ||
"rust-lang.rust-analyzer" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,44 @@ | ||
# babyrite | ||
|
||
[![CI](https://github.com/m1sk9/babyrite/actions/workflows/ci.yaml/badge.svg)](https://github.com/m1sk9/babyrite/actions/workflows/ci.yaml) | ||
[![Release babyrite](https://github.com/m1sk9/babyrite/actions/workflows/release.yaml/badge.svg)](https://github.com/m1sk9/babyrite/actions/workflows/release.yaml) | ||
[![Build](https://github.com/m1sk9/babyrite/actions/workflows/ci.yaml/badge.svg)](https://github.com/m1sk9/babyrite/actions/workflows/ci.yaml) | ||
[![Deploy babyrite docs](https://github.com/m1sk9/babyrite/actions/workflows/deploy.yaml/badge.svg)](https://github.com/m1sk9/babyrite/actions/workflows/deploy.yaml) | ||
|
||
A citation message Discord bot | ||
**babyrite** is a citation message Discord bot. | ||
|
||
![babyrite example](docs/src/public/example.gif) | ||
|
||
## Installation | ||
|
||
Can get babyrite Docker Image from ghcr.io: | ||
|
||
```shell | ||
```sh | ||
# latest version | ||
docker pull ghcr.io/m1sk9/babyrite:latest | ||
|
||
# Minor version (v0.x) - recommended | ||
docker pull ghcr.io/m1sk9/babyrite:v0 | ||
``` | ||
|
||
You can start babyrite by providing environment variables for the Docker Image you have obtained. | ||
[*API Support: requires Discord API v10*](https://discord.com/developers/docs/reference#api-versioning) | ||
|
||
## Setup and Hosting | ||
|
||
babyrite can be hosted using Docker Compose or k8s. | ||
|
||
See [official guide](https://babyrite.m1sk9.dev/installation.html) for setup and hosting. | ||
|
||
## Details | ||
|
||
- babyrite is one of the Quote Bots that expands the message content of a sent message link into an embed. | ||
- There are several such bots in the public, but none of them have been released as OSS. babyrite provides a way to host it yourself as well as to release it as OSS. | ||
|
||
<img src="./docs/src/public/using-babyrite.png" alt="Using babyrite" width="70%" > | ||
|
||
- babyrite can also extract attached image/GIF files. | ||
- These attached files are sent using Discord's CDN and are not stored on the server side. | ||
|
||
See [babyrite docs](https://babyrite.m1sk9.dev) for detailed setup instructions. | ||
<img src="./docs/src/public/attachment.png" alt="babyrite attachment" width="70%" > | ||
|
||
## Environment Variables | ||
- In addition to `discord.com`, babyrite supports message links used by a limited number of builds, such as `canary.discord.com` and `ptb.discord.com`. | ||
- *Not supported by `discordapp.com`. See [m1sk9/babyrite#172](https://github.com/m1sk9/babyrite/issues/172) for details.* | ||
|
||
The following are environment variables used by babyrite. | ||
## LICENSE | ||
|
||
Key whose `Required` column is `Yes` must be specified. If not specified, babyrite will not start correctly. | ||
babyrite is published under [MIT LIcense](./LICENSE). | ||
|
||
| Key | Description | Required | Default | | ||
| --- | ----------- | -------- | ------- | | ||
| `DISCORD_API_TOKEN` | Discord API Token | Yes | --- | | ||
<sub>© 2023-2024 m1sk9</sub> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters