Come to Coruna
Stack: NodeJS w/ Puppeteer, Axios, Cheerio, Handlebars, SQLite.
OpenAI API, Azure Image Recognition, Apify.
PHP w/ PicoCMS.
Website aimed at foreigners coming to A Coruña. It showcases some informational info, a calendar of events, and services aimed at this demographic.
What's interesting about this site, is that it scrapes events from plenty of sites using Puppeteer, handles the result with SQLite and Handlebars, and uploads the calendar to a static site.
But some events are only published in Instagram, and that poses many challenges.
So I decided to download the posts from instagram accounts, push the post image through image recognition / OCR (Azure API), then use a ChatGPT API with Function Calling to retrieve how many events there are in a given post, and its critical info (dates, title, etc).
I wouldn't say it's flawless, but I managed to get a 80% solution for very little money.
I'm quite happy with my Function Calling JSON definition, it works pretty well despite LLMs not being deterministic.
Github repo - Link to site