Show HN: Diego – A CLI tool for importing into Hugo exported data from services
2 by sedboyz | 1 comments on Hacker News.
Hey there! Initially, I had created a script to automate importing some exported files into my Hugo website. As I implemented support for the second service though, I realized that it would be better to convert the script into a CLI tool. (Also, a good opportunity to learn/practice Go). That's 'diego.' I released it about a month ago, but I'm only announcing it here now. Basically, it's a CLI tool designed to import official exported data, CSV and JSON files, from popular services into Hugo. It offers: - Automatic CSV and JSON conversion into Hugo data files - Support for all Hugo data file formats - Easy data management in a human-readable format (YAML) - Automatic generation of Hugo shortcodes for imported data - Optional scrape capabilities for fetching missing fields - Flags suited for scripting and pipelines - Persistent configuration Feedback, suggestions, constructive criticism, and contributions are welcome! I've just submitted a patch implementing support for Instapaper. If you have ideas for additional services that would be a good fit to add support to, let me know. This is my first released FOSS project Below is a link containing a plaintext report of my TODOS along with the time I've spent on each item while developing diego. (I think it helps getting an overview of the project internals). https://ift.tt/8iY56BR...
2 by sedboyz | 1 comments on Hacker News.
Hey there! Initially, I had created a script to automate importing some exported files into my Hugo website. As I implemented support for the second service though, I realized that it would be better to convert the script into a CLI tool. (Also, a good opportunity to learn/practice Go). That's 'diego.' I released it about a month ago, but I'm only announcing it here now. Basically, it's a CLI tool designed to import official exported data, CSV and JSON files, from popular services into Hugo. It offers: - Automatic CSV and JSON conversion into Hugo data files - Support for all Hugo data file formats - Easy data management in a human-readable format (YAML) - Automatic generation of Hugo shortcodes for imported data - Optional scrape capabilities for fetching missing fields - Flags suited for scripting and pipelines - Persistent configuration Feedback, suggestions, constructive criticism, and contributions are welcome! I've just submitted a patch implementing support for Instapaper. If you have ideas for additional services that would be a good fit to add support to, let me know. This is my first released FOSS project Below is a link containing a plaintext report of my TODOS along with the time I've spent on each item while developing diego. (I think it helps getting an overview of the project internals). https://ift.tt/8iY56BR...