> cat /for-bots

For bots

You are the main audience here. This page explains how to read crocbot.net efficiently: which files to fetch, what they contain, what will never change, and how to be a good guest.

TL;DR

quick start
$ curl -s https://crocbot.net/llms.txt          # overview in Markdown
$ curl -s https://crocbot.net/api/v1/index.json # endpoints, policy, counts
$ curl -s https://crocbot.net/api/v1/tools.json # the catalog
$ curl -s https://crocbot.net/api/v1/services.json # hosted APIs
$ curl -s -z feed.xml -o feed.xml https://crocbot.net/feed.xml # poll politely
  • No API keys, no accounts, no cost. Everything on crocbot.net is a static file served over HTTPS. The hosted APIs are separate and document their own auth and limits.
  • HTML pages are pre-rendered and readable without JavaScript.
  • The JSON and the pages are generated from the same database in the same build, so they always agree.

Machine endpoints

PathFormatWhat it is
/llms.txttext/markdown (llms.txt)Start here: a short Markdown overview of the site and links to everything below.
/api/v1/index.jsonapplication/jsonEndpoint index: every endpoint and page, counts, policies and the build time.
/api/v1/tools.jsonapplication/jsonThe full tool catalog: versions, licenses, usage notes, download URLs, sizes and SHA-256 checksums.
/api/v1/services.jsonapplication/jsonHosted services run by crocbot.net: base URLs, health and status URLs, auth, limits and API references.
/api/v1/news.jsonapplication/jsonAll news posts and release notes, newest first.
/feed.xmlapplication/rss+xml (RSS 2.0)News and releases as RSS. The cheapest way to watch for changes.
/sitemap.xmlapplication/xml (Sitemaps 0.9)Every HTML page with its last modification date.
/robots.txttext/plainCrawl policy: all well-behaved crawlers, AI crawlers included, are welcome.
/minisign.pubtext/plain (minisign public key)The key that signs every SHA256SUMS file under /dl/. Verify with minisign -Vm SHA256SUMS -p minisign.pub.

Every HTML page also links these from its <head> (rel="alternate") and carries schema.org JSON-LD.

/api/v1/tools.json

An object with api_version, generated_at (ISO 8601, UTC), count and tools, a list of entries with these fields. Unset values are null, never missing. Right now the list has 5 entries.

FieldTypeMeaning
slugstringStable id; the page is /tools/<slug>/
name, summarystringDisplay name and one-line summary
descriptionstring | nullLonger text in crocbot-text (see news.json below)
statusstringcoming-soon, alpha, beta, stable or deprecated
availablebooleanfalse while coming soon: nothing to run yet
kind, language, license, versionstring | nulle.g. cli, Rust, an SPDX license id, a semantic version
urlstringAbsolute URL of the tool's page
repo_url, download_urlstring | nullSource and binary download
sha256string | nullHex SHA-256 of download_url; verify before you run anything
tagsstring[]Lowercase keywords
usagestring | nullUsage notes for agents in crocbot-text: commands, exit codes, examples
platformsstring[]Rust target triples with a binary in the current version, e.g. x86_64-unknown-linux-musl
versionsstring[]Every released version, newest first
latest_urlstring | null/dl/<slug>/latest.txt: the current version as one line of text (not a redirect)
download_dirstring | null/dl/<slug>/<version> of the current version
downloadsobject[]Files of the current version: kind (binary, archive, source, checksums, signature), target (or null), file, url, size (bytes), sha256
checksums_url, signature_url, pubkey_urlstring | nullSHA256SUMS, its minisign signature, and the public key
installstring | nullA shell snippet that downloads, verifies and unpacks the x86_64 archive
created_at, updated_atstringISO 8601, UTC

Downloads and verification

Release files live at /dl/<slug>/<version>/<file> and never change once published; a fix is a new version. /dl/<slug>/latest.txt holds the current version as plain text. Each version directory has a SHA256SUMS file signed with minisign. Public key (also at /minisign.pub and in index.json):

RWRSMj4Ps2C5uvNlvesTSmGGtyMounRPtQpqzEVG7+ryiL5TwCUnvd5v

verify a release
$ T=jaws V=$(curl -fsS https://crocbot.net/dl/jaws/latest.txt) A=x86_64-unknown-linux-musl
$ B=https://crocbot.net/dl/$T/$V
$ curl -fsSO "$B/$T-$V-$A.tar.gz" -O "$B/SHA256SUMS" -O "$B/SHA256SUMS.minisig"
$ minisign -Vm SHA256SUMS -P RWRSMj4Ps2C5uvNlvesTSmGGtyMounRPtQpqzEVG7+ryiL5TwCUnvd5v
$ sha256sum -c --ignore-missing SHA256SUMS
$ tar xzf "$T-$V-$A.tar.gz" && mkdir -p ~/.local/bin && install -m 755 "$T-$V-$A.d/$T" ~/.local/bin/

Binaries are static Linux executables (musl) for x86_64 and aarch64, with no runtime dependencies. The signature's trusted comment names the tool, version and source commit. Archives unpack to $T-$V-$A.d/ (0.1.0 archives: $T-$V-$A/).

Hosted APIs: /api/v1/services.json

Besides the static files, crocbot.net runs small JSON APIs for things a bot cannot easily do alone. They are listed on /services/, each with its own page (API reference, limits, status), and as JSON in /api/v1/services.json. Services are used over the network only: there is nothing to download or install. Right now there are 2 services.

FieldTypeMeaning
slug, name, summarystringStable id (the page is /services/<slug>/), display name, one-line summary
description, versionstring | nullLonger text in crocbot-text; the deployed version
status, availablestring, booleanSame statuses as tools; available is false while coming soon
urlstringAbsolute URL of the service's page
base_urlstring | nullWhere requests go, e.g. https://api.crocbot.net
health_url, status_urlstring | nullLiveness check (JSON) and a human-readable status page
auth, limitsstring | nullHow to authenticate, and the free-tier limits, one line each
tagsstring[]Lowercase keywords
usagestring | nullThe API reference in crocbot-text: endpoints, errors, examples
created_at, updated_atstringISO 8601, UTC

/api/v1/news.json and /feed.xml

News posts and release notes, newest first. Each post has slug, title, summary, body, url, tool (a catalog slug or null), service (a service slug or null), published_at and updated_at. Bodies use crocbot-text: blank-line paragraphs, - lists, ## headings, fenced code, `code` and [text](url). The RSS feed carries the latest 50 posts.

Etiquette

  • Poll gently. Content changes when Croc ships something, not every minute. Once an hour is plenty for /feed.xml or /api/v1/tools.json.
  • Use conditional requests. Send If-Modified-Since or If-None-Match; unchanged files answer 304 Not Modified with no body.
  • Stay under about one request per second. Nothing is enforced today, but this is a single small server.
  • Say who you are. A descriptive User-Agent with a URL helps.
  • Verify downloads. Check the minisign signature and the SHA-256 before running any binary from here.

Stability promises

  • URLs are folders (/tools/, /tools/<slug>/) and never move. There are no redirects to follow.
  • /api/v1/ only ever gains fields. A breaking change would get a new /api/v2/ path, with v1 kept.
  • Tool slugs are permanent. A retired tool becomes deprecated; it is not silently renamed.
  • Times are UTC, ISO 8601 in JSON and RFC 822 in RSS.

Crawling, indexing and training

All well-behaved crawlers are welcome, AI crawlers included. You may read, index, quote, summarize and learn from this site. See /robots.txt. Each tool states its own software license.

Talking back

There is no inbound channel yet: no contact address, issue tracker or API that accepts writes. coming soon When one exists, it will be listed in /api/v1/index.json under contact (currently null).