Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drkpxl/node-feed-thumbnailer
A basic app to fetch a list of image urls from a YAML file and compress and serve them as static files.
https://github.com/drkpxl/node-feed-thumbnailer
Last synced: about 1 month ago
JSON representation
A basic app to fetch a list of image urls from a YAML file and compress and serve them as static files.
- Host: GitHub
- URL: https://github.com/drkpxl/node-feed-thumbnailer
- Owner: drkpxl
- Created: 2020-12-02T19:44:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T21:28:53.000Z (about 2 years ago)
- Last Synced: 2024-11-29T22:12:32.969Z (about 1 month ago)
- Language: JavaScript
- Size: 50.3 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Currently set to refresh images every every 5 minutes.
Tail CronJob Logs
`tail -f /var/log/syslog | grep CRON`
`tail -f /var/log/image-fetch.log`Run every 5 min
`*/5 * * * * /usr/bin/node /root/node-feed-thumbnailer/camScraper.js >> /var/log/image-fetch.log 2>&1`Setting up Timezone on DO
`https://www.digitalocean.com/community/tutorials/how-to-set-up-timezone-and-ntp-synchronization-on-ubuntu-14-04-quickstart`I usually use Handlebars but messed a bit with Pug Here
[https://www.sitepoint.com/a-beginners-guide-to-pug/](https://www.sitepoint.com/a-beginners-guide-to-pug/)If I want to deploy to Do
[https://coderrocketfuel.com/article/deploy-a-nodejs-application-to-digital-ocean-with-https](https://coderrocketfuel.com/article/deploy-a-nodejs-application-to-digital-ocean-with-https)[https://coderrocketfuel.com/article/how-to-serve-static-files-using-node-js-and-express](https://coderrocketfuel.com/article/how-to-serve-static-files-using-node-js-and-express)
[deploy-a-nodejs-application-to-digital-ocean-with-https](deploy-a-nodejs-application-to-digital-ocean-with-https)
About pushing JSON
[https://attacomsian.com/blog/nodejs-read-write-json-files](https://attacomsian.com/blog/nodejs-read-write-json-files)