https://github.com/thiswillbeyourgithub/indexablenewsboat
Makes the db of newsboat (a great rss reader) indexable by desktop search engine like recoll or docfetcher
https://github.com/thiswillbeyourgithub/indexablenewsboat
Last synced: 8 months ago
JSON representation
Makes the db of newsboat (a great rss reader) indexable by desktop search engine like recoll or docfetcher
- Host: GitHub
- URL: https://github.com/thiswillbeyourgithub/indexablenewsboat
- Owner: thiswillbeyourgithub
- License: gpl-3.0
- Created: 2021-03-10T13:10:36.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T17:06:37.000Z (over 3 years ago)
- Last Synced: 2025-05-01T01:39:15.482Z (10 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IndexableNewsboat
Makes the databse of [newsboat](https://newsboat.org/) (a great rss reader) indexable by desktop search engine like [recoll](https://www.lesbonscomptes.com/recoll/) or [docfetcher](https://sourceforge.net/p/docfetcher/wiki/).
## Please read:
* **Why did I make this?** I wanted to make my newsboat rss entries searchable though [Recoll](https://www.lesbonscomptes.com/recoll/)
* **What do you think of issues and contributions?** They are more than welcome, even just for typos, don't hesitate to open an issue.
* **Will this change my database?** No, it makes a copy before hand and doesn't change a thing.
* **What version of python should I use?** It has been tested on Python 3.9
* **I'd like to index my anki database into recoll, is it possible?** I created just that [over there](https://github.com/thiswillbeyourgithub/IndexableAnki)
* **How does it work?** It finds your database, copies it inside /tmp (otherwise it might be locked), loads it into pandas, drops useless columns, saves each entry as a .txt file, zips all the txt files together, moves the zip in the desired folder, deletes the txt files and the temporary db.
* **Is it cross platform?** Currently no, only Linux, and OSX could maybe work quite easily. It's on the todo list but don't be afraid to ask if you think you need this.
## Usage:
` python3 ./IndexableNewsboat.py -a ~/snap/newsboat/current/.newsboat/ -o ~/Documents/`
```
usage: IndexableNewsboat.py [-h] [-n NEWSBOAT_PATH] [-o OUTPUT_PATH]
optional arguments:
-h, --help show this help message and exit
-n NEWSBOAT_PATH, --newsboat_path NEWSBOAT_PATH
The path to the newsboat folder(ex: /home/USER/snap/newsboat/current/.newsboat)
-o OUTPUT_PATH, --output_dir OUTPUT_PATH
The path to the output folder
```
## How do entries look like afterwards?
Here's an example entry :
```
NEWSBOAT RSS EXPORT AS TXT
id: [XXXXXXXXXXXXX]
guid: [XXXXXXXXXXXXX]
url: [XXXXXXXXXXXXX]
title: [XXXXXXXXXXXXX]
author: [XXXXXXXXXXXXX]
feedurl: [XXXXXXXXXXXXX]
pubDate: [XXXXXXXXXXXXX]
content:
[XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]
```