A Common Lisp repository a day, at habichue.la. Every day a GitHub Actions job picks one Common Lisp repository, records its stats (stars, last update, license, whether it has tests and CI, ASDF systems), and rebuilds a static site with the archive of every pick plus an Atom feed.
Picks come from four sources, chosen per day:
- Quicklisp, about half the days: the Quicklisp projects list, a curated set of roughly 2,000 libraries, wherever they are hosted among the forges below.
- GitHub search, GitLab search and Codeberg search, the other half, with odds of 3:1:1: repositories whose primary language is Common Lisp and that are not in Quicklisp.
Three forges are read through their APIs: GitHub, GitLab (gitlab.com) and Codeberg. Three more hosts are read from a shallow clone instead, which gives the file listing, last commit, README and license but no stars or issue counts: gitlab.common-lisp.net (84 Quicklisp projects; its API sits behind an anti-bot challenge), sourcehut (needs a token even for public data) and Bitbucket (has no stars to fetch). Everything is written in Common Lisp (SBCL) and runs with no server: the data lives in this repository as one JSON file per day, and the site is deployed to GitHub Pages from the same workflow run.
make poolshallow-clonesquicklisp/quicklisp-projects.habichuela pickderives a seed from the date, picks the source with a seeded roll, shuffles the candidates with the same seed, and takes the first one that passes the rules below. It writesdata/YYYY-MM-DD.json. Running it twice on the same day is a no-op, and a rerun makes the same choices.habichuela refresh --limit 25re-fetches stats for the 25 least recently refreshed records, so every record is refreshed roughly monthly.- The data is committed, then
habichuela buildwritessite/and the workflow deploys it to GitHub Pages.
A candidate must be: not a fork or mirror, not archived, with a description, not featured before (the same owner/name on another forge counts as featured), and from an owner not featured in the last 30 days. Star counts, READMEs and whether Common Lisp is the primary language do not matter: the search channels already ask the forges for Common Lisp repositories, and a repository worth a description is worth a look however small. When a search source yields nothing eligible, the day falls back to the Quicklisp list.
How each forge is searched:
- GitHub: repository search, one random month of creation dates at a time, since search returns at most 1,000 results per query.
- GitLab: the
common-lisptopic plus a name-and-description search for "lisp" restricted to projects that use Common Lisp, sampling one of the six most recently active pages by seed. GitLab's language filter on its own times out for all but the biggest languages, so a keyword-only search in a random month of activity is the fallback. Candidates that mention lisp but use it only a little are accepted; the pick shows the language the forge reports. - Codeberg: the
common-lisptopic plus a name-and-description search, both filtered on the primary language the API reports.
The knobs are defparameters at the top of src/pick.lisp and
src/discover.lisp: discovery share and forge odds, star minimums (all zero by
default), owner cooldown, attempt budget.
Requirements: SBCL, ocicl (brew install ocicl
or the apt repository, then ocicl setup once), git, curl, make. The GitHub
token comes from gh auth token when GITHUB_TOKEN is not set. GITLAB_TOKEN
and CODEBERG_TOKEN are optional.
make deps # fetch the dependencies locked in ocicl.csv into ocicl/
make pool # fetch or update the Quicklisp projects list
make bin # build bin/habichuela
make pick ARGS=--dry-run # show the pick for today without writing it
make pick # write data/YYYY-MM-DD.json
make refresh ARGS="--limit 5"
make build # write site/
make serve # preview at http://localhost:8000/HABICHUELA_DATE=2026-01-31 make pick picks for another date.
make pick ARGS="--dry-run --source codeberg" forces a source
(quicklisp, github, gitlab or codeberg). bin/habichuela pool counts
the Quicklisp pool per forge. bin/habichuela inspect <repo> prints the record
that would be written for any repository, on any forge. data/exclude.txt lists repositories that must
never be featured, as owner/name or host/owner/name.
Dependencies are locked in ocicl.csv: every system pinned to a sha256 digest,
fetched over HTTPS from ghcr.io by ocicl, whose own TLS is pure Lisp. The
workflow installs a pinned ocicl release, verifies its checksum, and builds in
local-only mode so nothing outside the lockfile is used. To upgrade, run
ocicl latest and commit the new ocicl.csv.
HTTP goes through dexador over pure-tls, a
TLS 1.3 implementation in Common Lisp, so the program has no OpenSSL dependency
at all. dexador asks for cl+ssl; habichuela.asd loads pure-tls's
cl+ssl-compatible layer first and marks cl+ssl as already provided.
static/ is copied into the site as is. static/bean.png is the logo,
favicon and link-preview image; the other PNGs are the forge, social and
yes/no icons, one light and one dark variant each, swapped with a
prefers-color-scheme media query. The footer links the X, Mastodon and
Bluesky accounts with rel="me", which is what Mastodon uses to verify a
profile link, and the source repository. The lists live at the top of
src/site.lisp.
The site is served at https://habichue.la/.
- Create the
habichuelarepository on GitHub and push this tree. - Settings, Pages, "Build and deployment", set Source to "GitHub Actions".
- Under "Custom domain" on the same page, enter
habichue.laand save. GitHub recommends verifying the domain for your account first (your profile settings, Pages, "Add a domain") to prevent takeovers. - At the registrar, point the apex at GitHub Pages and remove any URL
forwarding record: A records 185.199.108.153, 185.199.109.153,
185.199.110.153, 185.199.111.153, and AAAA records 2606:50c0:8000::153,
2606:50c0:8001::153, 2606:50c0:8002::153, 2606:50c0:8003::153.
Optionally add a
wwwCNAME tojuliojimenez.github.io. - Once GitHub has issued the certificate (up to a day), tick "Enforce HTTPS".
- Actions, "daily", "Run workflow" to seed the first pick, or wait for the schedule.
The workflow reads the Pages configuration with actions/configure-pages, so
the absolute links in feed.xml follow whatever domain is set there. Local
builds default to https://habichue.la/; override with HABICHUELA_BASE_URL.
data/YYYY-MM-DD.json holds the pick and its latest stats snapshot:
repo, forge, host, url, description, homepage, language, license, stars, forks,
open_issues, created_at, pushed_at, archived, fork, mirror, default_branch,
topics, has_readme, has_tests, has_ci, asd_systems, tree_truncated,
quicklisp_project, ultralisp_project, source (quicklisp, github, gitlab
or codeberg), picked_at, fetched_at. The site publishes the same records as data.json, and
the 50 most recent picks as feed.xml. Feed entries have stable tag: ids and
carry the time the pick was made, so RSS-to-social services such as dlvr.it
see each pick exactly once.
has_tests is a heuristic: a t/, test/ or tests/ directory, or a file
named like foo-test.asd, tests.lisp or run-tests.sh. has_ci looks for
GitHub Actions, GitLab CI, Forgejo and Gitea Actions, Travis, CircleCI, Drone,
Woodpecker, Cirrus, sourcehut builds and a few others. license is the forge's
detected license when it names one. Otherwise the LICENSE or COPYING file is
fetched and identified from its wording (MIT, the BSD variants, Apache-2.0, the
GPL family including LLGPL, public-domain dedications, MPL-2.0, ISC, 0BSD,
Unlicense, Zlib, CC0-1.0 and a few more), and failing that the :license
string of the ASDF system definition is read. license_from says whether the
value came from the forge, the file or the asd. A license file nobody
could read reads "see repository". ultralisp_project is the repository's
name in the Ultralisp dist (owner and name joined
with a hyphen) when the current Ultralisp release index lists it; the index is
read from dist.ultralisp.org once per run, and when it cannot be fetched the
value already on record is kept. Records written before this field existed get
it on their next refresh.
- Quicklisp projects on other self-hosted git, on Mercurial, darcs or Subversion, and tarball-only projects are skipped. Projects read from a clone (gitlab.common-lisp.net, sourcehut, Bitbucket) have no stars, forks, issue counts or creation date; those fields are null and the site shows "n/a".
- Without a
GITLAB_TOKEN, GitLab's API hides the archived flag, the mirror flag and the open issue count; those read as false and 0. - GitHub's cron is best effort: the daily run can start late.
Copyright 2026 Julio Jimenez. Licensed under the Apache License, Version 2.0; see LICENSE.