n0madic / twitter-scraper

Scrape the Twitter frontend API without authentication with Golang.
MIT License
886 stars 180 forks source link

Enable running on Apify cloud platform #155

Open metalwarrior665 opened 9 months ago

metalwarrior665 commented 9 months ago

Apify is a cloud platform where you can run and scale web scrapers and automations. You can also publish them as Actors either as free to use or as paid monthly or per results (ideally to the repo author @n0madic ). Apify has a generous free tier plan.

To do that, you need to add a simple wrapper functionality to work with input/output and a Dockerfile to enable cloud runtime. Details are explained in the Deploying Your Code guide.

Happy to help setting up a PR for the wrapping code. The codebase would keep working the locally but would have special handlers for the Apify platform.