Bot used for posting discussion threads for the series "Ascendance of a Bookworm" on the lemmy instance bookwormstory.social
Find a file
Neshura b218773148
All checks were successful
Run Tests on Code / run-tests (push) Successful in 0s
Build and Release Binary File / run-tests (push) Successful in 2s
Build and Release Binary File / build (push) Successful in 1m3s
Build and Release Binary File / upload-release (push) Successful in 7s
Release 2.0.5
2023-12-17 23:01:03 +01:00
.forgejo/workflows Actions Path Fix + 2.0.1 Release 2023-12-17 20:37:28 +01:00
jnc_api_examples Added more API examples 2023-12-16 03:08:58 +01:00
src Info Logging Bugfix 2023-12-17 23:00:37 +01:00
.gitignore Update .gitignore 2023-12-17 03:26:59 +01:00
automod.service Added Service files, Fixed terminal bug 2023-07-03 19:22:02 +02:00
Cargo.lock Release 2.0.5 2023-12-17 23:01:03 +01:00
Cargo.toml Release 2.0.5 2023-12-17 23:01:03 +01:00
deploy.sh Threading Implementation for higher stability 2023-08-31 23:36:37 +02:00
README.md Switch Readme to toml config 2023-09-18 21:04:44 +02:00
rustfmt.toml Add rustfmt file 2023-09-18 20:25:41 +02:00

ascendance-of-a-bookworm-bot

secrets.json

{
  "lemmy": {
    "username": "string",
    "password": "string"
  },
  "reddit": {
    "app_id": "string",
    "app_secret": "string",
    "refresh_token": "string",
    "redirect_uri": "string"
  },
  "discord": {}
}

config.toml

[urls]
instance = "base URL of Lemmy Instance"
uptime_kuma = "Uptime Kuma Ping URL"

[settings]
config_reload = 360 # Time in Minutes between Config reloads


[[feeds]]
id = 0 # incrementor, only used for correctly matching post history data
series_slug = "ascendance-of-a-bookworm" # series slug on J-Novel Club

[communities]
chapter = "aobprepub" # Community for Chapter Posts of the Series
volume = "aoblightnovel" # Community for Volume Posts of the Series


[[feeds]] # See previous example
id = 1
series_slug = "ascendance-of-a-bookworm-short-story-collection"

[communities]
chapter = "aobprepub"
volume = "aoblightnovel"

posts.json

[
  {
    "id": number,
    "title",
    "last_volume_slug": "string",
    "last_volume_time": "string",
    "last_part_slug": "string",
    "last_part_time": "string"
  }
]