A simple aggregator for my weekly posts. Consumes a feed from pinboard.in and exports them as markdown.
- Install dependencies by runing
composer install
. You might need to install Composer first, (trybrew install composer
). - Copy the configuration file
cp config.php.sample config.php
- Change the Feed URL (yes you can also use php to generate tags)
The URL should boil down to something like
http://feeds.pinboard.in/rss/u:UserName/t:ChosenTag/
- run
./generate
- check the file
preview.md
- Add the file intro.md and upon running generate the intro text will be added.
If you don't want to install php
or composer
, you can use the container approach
If you want to use docker for composer, you can use the following docker command:
docker-compose run cli bash -c "composer install"
docker-compose run cli bash -c /app/generate