- View your daily.dev bookmarks from the CLI with Python
- A simple Python Package
To install the python package, install with pip or any other python package management tool of your choice.
pip install dailydotdev-bookmark-cli
After installing the python package simply enter the command bookmarks,
bookmarks
This will prompt you to enter your daily.dev's bookmark RSS Feed URL, simply copy and paste as it is and finally the list of all your bookmarks will be displayed.
NOTE: You do not have to enter the bookmark URL link again and again, it will be stored in a file. If you want to change it, you can modify or delete the file containing the id as explained later.
dailydevbookmark-cli.mp4
Using the Dockerfile, you can simply execute the following commands:
FROM python:3
RUN pip install dailydotdev-bookmark-cli
Copy the Dockerfile in the your current working directory, build the image and run the image with interactive mode in bash.
docker build . -t bookmarkcli
docker run -it bookmarkcli bash
ddb-docker.mp4
To change/edit an existing RSS Feed URL, you can enter the following command, and it will ask for the new URL, simply input that and you should be good to go.
bookmakrs --ch
To delete an existing RSS Feed URL, you can enter the following command, this will delete the file that holds your ID(URL for Bookmarks)
bookmakrs --rm
If you want a TUI for your bookmarks, you have a option to display it using the --tui option in the package.
NOTE: It will only support the terminal systems with support the functionality of displaying rich content.
bookmarks --tui
