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 Cheerio crawler
A fast HTTP crawler that extracts data from every page. Good for simple sites like blogs, news, or product listings, but it can't run client-side JavaScript.
JavaScript one-page scraper
Get data from one web page with Cheerio. The simplest way to start scraping.
JavaScript Puppeteer scraper
A headless Chrome scraper that renders JavaScript before extracting data. Good for social feeds, dashboards, or single-page apps.
JavaScript Playwright scraper
A Playwright-based browser scraper supporting multiple browsers and contexts.
JavaScript Camoufox scraper
A Firefox-based browser built to look like a real user and bypass bot protection.
Cheerio crawler (advanced)
A minimal crawler for developers who already know the Apify SDK and Crawlee.