Three little scripts that sync bookmarks and articles to Logseq. It generates Markdown files.
- First clone the repository, and copy
.env.example
to.env
- You'll need composer to install the dependencies using
composer install
- Filling in the details in the
.env
file is enough. You only need the Wallabag + Nextcloud details.- Both should be reachable from the web, be sure to use
https://
- Both should be reachable from the web, be sure to use
NEXTCLOUD_LOGSEQ_PATH
is the path where the files will be stored. Be sure to include the "pages" directory, ie. misc/logseq/pages
.
Once configured and installed, run one of the following scripts
php sync-bookmarks.php
generatesBookmarks.md
based on your Nextcloud Bookmarksphp sync-wallabag.php
generatesArtikelen en leesvoer.md
based on your Wallabag articlesphp create-stream.php
generatesStream.md
, a date-based stream of articles and bookmarks
The Wallabag script will make any archived Wallabag article public automatically.
If you have questions, let me know.