-
Hugo is a general-purpose website framework for generating static web pages.Pricing:
- Open Source
I have decided that I wanted to have a file named blog.md which should contain my last 5 posts. To fetch this info, I used the RSS feed xml file generated by hugo for my blog. All I need to do is to fetch the file, parse the xml document and get the title and links of each post:.
#Static Site Generators #Blogging #Blogging Platform 354 social mentions
-
A REST API to spread peace & love (or not) thanks to cats 😸
{ id: "randc", description: 'get a random cat photo', args: 0, async run(term, args) { term.writeln('getting a cato...'); const res = await fetch('https://cataas.com/cat?json=true'); if (!res.ok) { term.writeln(`[error] no catos today :( -- ${res.statusText}`)); } else { const { url } = await res.json(); term.writeln(colorize(TermColors.Green, 'opening cato...')); await sleep(1000); window.open('https://cataas.com' + url); } }, },.
#Design Tools #Web App #Productivity 6 social mentions