29 lines
1.1 KiB
Org Mode
29 lines
1.1 KiB
Org Mode
#+title: FreshRSS2Pocket
|
|
|
|
*WARNING: Since I'm [[https://mmk2410.org/2024/11/13/switching-away-from-pocket][no longer using Pocket]] I will not further develop this script.*
|
|
|
|
One-Way-Synchronization of your starred FreshRSS items to Pocket.
|
|
|
|
* Requirements
|
|
|
|
- Pocket application.
|
|
- [[https://www.freshrss.org/][FreshRSS]] instance
|
|
- Python 3
|
|
|
|
* Features
|
|
|
|
- Adds starred FreshRSS items to your Pocket account (including title and categories)
|
|
- Removes starred items from FreshRSS
|
|
|
|
* Shortcomings
|
|
|
|
- None that I'm currently aware of.
|
|
|
|
* Setup
|
|
|
|
- Create a new Pocket application in the [[https://getpocket.com/developer/apps/][Pocket developer portal]] of type "Desktop (other)" (not sure if the type really matters)
|
|
- Copy =config.example.json= to =config.json= and fill it out
|
|
- (optional) Create a Python virtual environment with =python3 -m venv venv= and activate it
|
|
- Install Python requirements with =pip install -r requirements.txt=
|
|
- Execute the program with =python youtube2freshrss.py=
|
|
- (optional) Set up a Cron job for running the =run.sh= (requires virtual environment) once a day with the working directory as first argument
|