An Actor for existing command-line tools. No rewrite needed.
Create it locally
$scrapely create my-actor --template cli-start
Main file
.SH
main.sh#!/bin/bash
set -ex
# Parse input values
input="$(scrapely actor get-input)"
name="$(jq -r .name <<< "$input")"
# Construct an output object and push it to the dataset (Actor results)
echo '{}' |
jq ".name = \"$name\"" |
jq ".greeting = \"Hello $name!\"" |
scrapely actor push-data
CLI Actor wrapper
An Actor for existing command-line tools. No rewrite needed.
Included features
- Scrapely SDK — Actor lifecycle, input, storage and proxies
- Dataset schema — structured results with a preview view (
.actor/dataset_schema.json)
Getting started locally
scrapely run # run the Actor locally
Deploying to Scrapely
Create an Actor from this template in the Scrapely Console (Develop new → template → Git). Scrapely creates a repository in your account, pushes this code, and builds the Actor. Every push to your repository triggers a new build.