pulse/package.json
Edo Limburg c79eb6d76d Add CLI entry point, RSS content extraction, and image support
Features:
- Add CLI with commands: start, add, remove, list, fetch, status, items
- Auto-detect RSS format when adding feeds
- Auto-run database migrations on startup
- Extract full HTML content from RSS description field (NOS-style feeds)
- Extract image URLs from RSS enclosure tags
- Display images in terminal output with emoji
- Include imageUrl in JSON formatter output

Database:
- Add image_url column to feed_items table
- Update storage layer to persist imageUrl field

Tests:
- Add 10 CLI integration tests
- Add 3 RSS parser tests for image/content extraction
- Add 2 storage tests for imageUrl persistence

Dependencies:
- Add commander for CLI framework

All 144 tests passing
2026-05-05 23:05:30 +02:00

32 lines
669 B
JSON

{
"name": "pulse",
"version": "0.1.0",
"description": "RSS feed aggregator",
"type": "module",
"bin": {
"pulse": "./cli.ts"
},
"scripts": {
"test": "vitest run",
"typecheck": "tsc --noEmit",
"start": "tsx cli.ts start",
"cli": "tsx cli.ts"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.0.0",
"@types/pg": "^8.20.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^2.1.0"
},
"dependencies": {
"better-sqlite3": "^12.9.0",
"commander": "^13.0.0",
"fast-xml-parser": "^5.7.3",
"kysely": "^0.28.17",
"pg": "^8.20.0",
"undici": "^6.21.0"
}
}