CLI Actor wrapper
An Actor for existing command-line tools. No rewrite needed.
main.sh
1#!/bin/bash2set -ex3
4# Parse input values5input="$(apify actor get-input)"6name="$(jq -r .name <<< "$input")"7
8# Construct an output object and push it to the dataset (Actor results)9echo '{}' |10 jq ".name = \"$name\"" |11 jq ".greeting = \"Hello $name!\"" |12 apify actor push-dataStart a new Actorization project quickly and easily with this project template. It provides a basic structure for building an Actor with the Apify CLI and allows you to easily add your own functionality.
- Apify CLI - toolkit for building Actors that interact with the Apify platform .
- jq - a command line filter for working with JSON
This template is useful when you're already familiar with the Apify Platform and want to use the Apify CLI to turn almost any project into an Actor.
- Actor development in Apify documentation - see especially the actor.json part
- Actor whitepaper for a deep dive into the Actor computing model
JavaScript site crawler (Crawlee + Cheerio)
A fast crawler that follows links and gets data from static pages, with Crawlee handling retries, queues, and proxies. Good for blogs, news, or product listings, but it can't run client-side JavaScript.
JavaScript one-page scraper (Cheerio)
A scraper that gets data from one web page with Cheerio. The simplest way to start scraping.
JavaScript browser crawler (Crawlee + Puppeteer + Chrome)
A browser crawler that renders JavaScript in headless Chrome, with Crawlee handling retries, queues, and proxies. Good for social feeds, dashboards, or single-page apps.
JavaScript browser crawler (Crawlee + Playwright + Chrome)
A browser crawler that renders JavaScript, with Crawlee handling retries, queues, and proxies. Good for social feeds, dashboards, or single-page apps.
JavaScript stealth crawler (Crawlee + Playwright + Camoufox)
A browser crawler built to get past bot protection. Uses Camoufox, a Firefox build that looks like a real user.
JavaScript minimal site crawler (Crawlee + Cheerio)
A minimal site crawler for developers who already know the Apify SDK and Crawlee.