Add shared Docker network and Miniflux plugin for Hermes
- Create external 'monotrope' Docker network so services can communicate by container name - Add Miniflux to the shared network (db stays on internal network) - Add Hermes Miniflux plugin with list_feeds and get_unread_entries tools - Mount plugin directory and pass Miniflux API key to Hermes container Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
34
infra/hermes/plugins/miniflux/schemas.py
Normal file
34
infra/hermes/plugins/miniflux/schemas.py
Normal file
@@ -0,0 +1,34 @@
|
||||
LIST_FEEDS = {
|
||||
"name": "list_feeds",
|
||||
"description": (
|
||||
"List all subscribed RSS feeds from Miniflux. "
|
||||
"Returns feed titles, URLs, and unread counts."
|
||||
),
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"required": [],
|
||||
},
|
||||
}
|
||||
|
||||
GET_UNREAD_ENTRIES = {
|
||||
"name": "get_unread_entries",
|
||||
"description": (
|
||||
"Get unread entries from Miniflux. "
|
||||
"Optionally filter by feed ID and limit the number of results."
|
||||
),
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"feed_id": {
|
||||
"type": "integer",
|
||||
"description": "Filter to a specific feed. Omit for all feeds.",
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"description": "Maximum number of entries to return. Defaults to 20.",
|
||||
},
|
||||
},
|
||||
"required": [],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user