Hacker News new | ask | show | jobs
by kaangiray26 1093 days ago
Thank you kind stranger!

Actually I was planning to make a web app but then I realized not all news websites have APIs for requesting their content. Then I've come across CapacitorJS which allows you to convert your web projects into mobile apps and they have a plugin called "CapacitorHttp", which patches the usual fetch function to use native libraries instead. This way it is possible to make http requests that do not get blocked by CORS-related problems. So, all the requests are made on the client-side, which takes so much work from my shoulders :)

1 comments

Neat! Thanks for the details!