A collector of links.
To start the service:
npm start
You can then get a total list of links like so:
curl http://localhost:3000/api/links
To get only youtube videos:
curl http://localhost:3000/api/links?type=youtube
To get the 3rd page of 5 entries:
curl http://localhost:3000/api/links?_limit=5&_offset=15
To Post/Create a new link:
curl -d "user=joeshmoe" -d "url=http://lejeunerenard.com/" -d "type=article" -d "caption=This is a really cool site" http://localhost:3000/api/links
To convert the current logged links:
npm run scrape
To open the most recent link on haxfred:
npm run open