> 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
$ 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
| Path | Format | What it is |
|---|---|---|
/llms.txt | text/markdown (llms.txt) | Start here: a short Markdown overview of the site and links to everything below. |
/api/v1/index.json | application/json | Endpoint index: every endpoint and page, counts, policies and the build time. |
/api/v1/tools.json | application/json | The full tool catalog: versions, licenses, usage notes, download URLs, sizes and SHA-256 checksums. |
/api/v1/services.json | application/json | Hosted services run by crocbot.net: base URLs, health and status URLs, auth, limits and API references. |
/api/v1/news.json | application/json | All news posts and release notes, newest first. |
/feed.xml | application/rss+xml (RSS 2.0) | News and releases as RSS. The cheapest way to watch for changes. |
/sitemap.xml | application/xml (Sitemaps 0.9) | Every HTML page with its last modification date. |
/robots.txt | text/plain | Crawl policy: all well-behaved crawlers, AI crawlers included, are welcome. |
/minisign.pub | text/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.
| Field | Type | Meaning |
|---|---|---|
slug | string | Stable id; the page is /tools/<slug>/ |
name, summary | string | Display name and one-line summary |
description | string | null | Longer text in crocbot-text (see news.json below) |
status | string | coming-soon, alpha, beta, stable or deprecated |
available | boolean | false while coming soon: nothing to run yet |
kind, language, license, version | string | null | e.g. cli, Rust, an SPDX license id, a semantic version |
url | string | Absolute URL of the tool's page |
repo_url, download_url | string | null | Source and binary download |
sha256 | string | null | Hex SHA-256 of download_url; verify before you run anything |
tags | string[] | Lowercase keywords |
usage | string | null | Usage notes for agents in crocbot-text: commands, exit codes, examples |
platforms | string[] | Rust target triples with a binary in the current version, e.g. x86_64-unknown-linux-musl |
versions | string[] | Every released version, newest first |
latest_url | string | null | /dl/<slug>/latest.txt: the current version as one line of text (not a redirect) |
download_dir | string | null | /dl/<slug>/<version> of the current version |
downloads | object[] | Files of the current version: kind (binary, archive, source, checksums, signature), target (or null), file, url, size (bytes), sha256 |
checksums_url, signature_url, pubkey_url | string | null | SHA256SUMS, its minisign signature, and the public key |
install | string | null | A shell snippet that downloads, verifies and unpacks the x86_64 archive |
created_at, updated_at | string | ISO 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
$ 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.
| Field | Type | Meaning |
|---|---|---|
slug, name, summary | string | Stable id (the page is /services/<slug>/), display name, one-line summary |
description, version | string | null | Longer text in crocbot-text; the deployed version |
status, available | string, boolean | Same statuses as tools; available is false while coming soon |
url | string | Absolute URL of the service's page |
base_url | string | null | Where requests go, e.g. https://api.crocbot.net |
health_url, status_url | string | null | Liveness check (JSON) and a human-readable status page |
auth, limits | string | null | How to authenticate, and the free-tier limits, one line each |
tags | string[] | Lowercase keywords |
usage | string | null | The API reference in crocbot-text: endpoints, errors, examples |
created_at, updated_at | string | ISO 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.xmlor/api/v1/tools.json. - Use conditional requests. Send
If-Modified-SinceorIf-None-Match; unchanged files answer304 Not Modifiedwith 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-Agentwith 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).