Bot used for posting discussion threads for the series "Ascendance of a Bookworm" on the lemmy instance bookwormstory.social
Find a file
Neshura b14d37e01c
All checks were successful
Run Tests on Code / run-tests (push) Successful in 0s
Build and Release Binary File / test (push) Successful in 2s
Build and Release Binary File / build (push) Successful in 1m7s
Build and Release Binary File / upload-release (push) Successful in 11s
Release 2.1.2
2023-12-18 22:28:26 +01:00
.forgejo/workflows Update .forgejo/workflows/build+release.yml 2023-12-18 08:06:58 +00:00
src Display times in local timezone instead of UTC 2023-12-18 22:26:52 +01:00
.gitignore Remove API Examples from Repo 2023-12-18 14:22:33 +01:00
automod.service Added Service files, Fixed terminal bug 2023-07-03 19:22:02 +02:00
Cargo.lock Release 2.1.2 2023-12-18 22:28:26 +01:00
Cargo.toml Release 2.1.2 2023-12-18 22:28:26 +01:00
deploy.sh Threading Implementation for higher stability 2023-08-31 23:36:37 +02:00
README.md Update README 2023-12-18 14:22:42 +01:00
rustfmt.toml Add rustfmt file 2023-09-18 20:25:41 +02:00

ascendance-of-a-bookworm-bot

.env

LEMMY_USERNAME="BotUserName"
LEMMY_PASSWORD="BotPassword"

Note: Passwords containing special characters might need to be escaped using ''

config.toml

instance = "https://lemmy.example.org"
status_post_url = "PostUrlForStatusMonitoring"
config_reload_seconds = 10800

protected_communities = [ "community_where_pins_should_stay" ]

[[series]]
slug = "example-slug"
parted = false
[series.prepub_community]
name = "communityforprepubs"
[series.prepub_community.pin_settings]
pin_new_post_local = true
pin_new_post_community = true
[series.prepub_community.post_body]
body_type = "Custom"
body_content = """
Custom Text for the Post\n\n\
Can contain new lines and [links](https://join-lemmy.org)"""
[series.volume_community]
name = "communityforvolumes"
[series.volume_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = true
[series.volume_community.post_body]
body_type = "Description"

[[series]]
slug = "example-slug-2"
parted = true
[series.prepub_community]
name = "communityforprepubs"
[series.prepub_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = false
[series.prepub_community.post_body]
body_type = "Custom"
body_content = "single line content"
[series.volume_community]
name = "communityforvolumes"
[series.volume_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = false
[series.volume_community.post_body]
body_type = "None"