I'm planning to create a news aggregator, but I want it to be plugin-based. The main idea is to set up a basic backend that I can add plugins to, allowing users to view news from various channels or sites they choose. The plugins can be developed in any language, as long as they provide data in the required format. I'm thinking about using FastAPI for the backend due to its lightweight and concurrent capabilities. Here's what I've come up with so far:
- A solid backend, ideally using FastAPI for its speed.
- A database to keep track of news site plugins or "channels".
- Automatic verification to ensure plugin response specs are correct.
- User options to add multiple "channels".
I'd like to know more about several aspects:
- Is using HTTP plugins the best approach? If not, what alternatives do I have?
- How do I ensure trustworthiness and security from plugin sources to avoid potential vulnerabilities?
- Would it be more efficient to create an app where each "channel" operates as an individual plugin, similar to apps like Tachiyomi or Mihon?
I'm not sure if this is feasible, and I want to make it easy for other developers to create plugins effortlessly. Any feedback or assistance would be greatly appreciated!
1 Answer
That's a cool idea! One thing to think about is what exactly your aggregator would offer that existing solutions like RSS don't. I've been working on something similar, and handling the different formats and structures of news feeds can be tricky. Using standardized formats like RSS or Atom could make it way easier. I'd be interested in sharing more about my experiences with plugin-based architecture if you're up for it!

Please do share! I'm eager to learn from those who have experience in this area.