Modularize the Bot #20

Open
opened 2024-01-08 14:03:27 +00:00 by Neshura · 2 comments
Owner

Would go a long way to converting this into a more general purpose tool.
Feature requirements:

  • "Plugin" type system (for now hard coded rust modules)
  • Initial fetchers: JNovel Club API, maybe TO Books (JP Source)
  • Chapter Fetcher determined per series config (format tbd)
  • Should fetchers be expected to distinguish between volumes and chapters? If not check for possible issues arising from that.
  • Multiple fetchers per series allowed? If so how should that be handled when it comes to posting?
Would go a long way to converting this into a more general purpose tool. Feature requirements: - [x] "Plugin" type system (for now hard coded rust modules) - [ ] Initial fetchers: JNovel Club API, maybe TO Books (JP Source) - [x] Chapter Fetcher determined per series config (format tbd) - [x] Should fetchers be expected to distinguish between volumes and chapters? If not check for possible issues arising from that. - [x] Multiple fetchers per series allowed? If so how should that be handled when it comes to posting?
Neshura added this to the 4.0.0 milestone 2024-01-08 14:03:27 +00:00
Neshura added the
rewrite
improvement
labels 2024-01-08 14:03:27 +00:00
Neshura self-assigned this 2024-01-08 14:03:27 +00:00
Neshura added a new dependency 2024-01-08 14:03:34 +00:00
Author
Owner

Multiple fetchers disallowed for now, doesn't make much sense either tbh. Just treat an identical series from a different source as a new series.

Multiple fetchers disallowed for now, doesn't make much sense either tbh. Just treat an identical series from a different source as a new series.
Author
Owner

Plugin System implemented via Enum, not exactly freely expandable but works for now over complicated dynamic dispatch fuckery

Plugin System implemented via Enum, not exactly freely expandable but works for now over complicated dynamic dispatch fuckery
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference: Neshura/aob-lemmy-bot#20
No description provided.