The links on my bookmarks page are automatically synced from pocket.
I got the idea to do this from Luke Miles.
How does it work?
- I save articles I want to read on pocket.
- On my server, I run a small script that checks if anything new is added to my pocket list with the tag ‘public’.
- If it finds something that was not added to my bookmarks page yet, it adds the new link to the file that contains my bookmarks and commits and pushes it to GitHub.
- GitHub Pages makes sure that the new change is deployed to this website automatically.
Here is the code.