frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Alint, a fast linter for repository structure and hygiene

https://github.com/asamarts/alint
2•aleqs•39m ago
Hi HN, I have been working on alint for the last little while. It is a linter for the shape of a repository rather than the code inside it. clippy, ruff, eslint, and others already handle the AST and code space. alint checks the other layer: required files, filename conventions, content patterns, structured values inside package.json / Cargo.toml / GitHub workflow YAML, and cross-file invariants. You write one .alint.yml describing what the repo should look like, and it runs in CI. Today it covers 70 rule kinds across 13 families, 19 bundled rulesets, 12 auto-fix ops, and 8 output formats including SARIF.

To check the design against reality, I built (vibed) working configs for 30 real OSS repos. The corpus is deliberately varied: single-language workspaces and polyglot monorepos, from small clean trees up to roughly 150k-file mega-repos, with and without mature in-house tooling. Each one has a writeup of what alint catches that the repo's existing tooling does not, including the false-positive-in-spirit cases; the configs are committed under examples/ so the claims are checkable instead of asserted. Findings span large-scale verify-script consolidation in mega-repos, real Trojan-Source bidi-control characters in archived release notes (caught by the bundled oss-baseline ruleset), and the usual CI hygiene drift.

The benchmark is the project's strongest discipline, every release is thoroughly benchmark-gated - see docs/benchmarks for methodology and results. 0.2s-1.5s for 100k file repos, 5s-15s for 1m file repos.

Test discipline is layered: unit tests, declarative YAML end-to-end scenarios, property-based invariants, smoke fixtures that pin rule semantics so an ignored knob is caught at PR time, and the benchmark gate. The project is dual-licensed Apache-2.0 OR MIT, telemetry-free (the only outbound is an extends: URL you wrote yourself, SRI-pinned), reproducible build, one static binary. Install: cargo install alint, a Homebrew tap, a distroless Docker image, an npm shim, or a GitHub Action.

The roadmap is public under docs/design/. Near-term: broader extensibility (richer plugin surface, more bundled rulesets) and a few high-demand rule kinds the case studies surfaced.

The fit with coding agents has been getting the most interest lately. Agents make exactly the structural mistakes alint catches: a stray .bak file, a scratch PLAN.md at the repo root, a committed console.log, drift off the repo naming convention. A --format agent output emits per-violation instruction strings an agent can act on, and alint export-agents-md writes the active ruleset into an AGENTS.md or CLAUDE.md section.

What it deliberately does not do is parse code. If a check needs an AST or type information, that belongs to clippy or eslint and alint stays out of it. On bazel roughly 29% (15 of 52 checks) are out of scope for exactly that reason, and the writeup breaks down which and why.

I am open to all kinds of feedback: pain points, things that should be primitives and are not, install or first-run friction, naming, DSL ergonomics (the JSONPath dashed-key bracket-form papercut has caught everyone), ruleset coverage. If you try it on a repo of yours and it falls over, that is the feedback I most want to hear.

Repo: https://github.com/asamarts/alint

Site and docs: https://alint.org

Benchmarks: https://alint.org/benchmarks/

The 30 example configs: https://alint.org/examples/

I built the Webflow exporter I wished existed

https://www.webflowexport.com/
1•happyyeti•1m ago•1 comments

Generative art collection based on human interpretation

https://www.mixedmessages.fyi/auction
1•knownquantity_•2m ago•1 comments

WhatsApp Web Became Facebook

https://old.reddit.com/r/whatsapp/comments/1ti3qxf/whatsapp_web_became_facebook/
3•Crier1002•8m ago•0 comments

Railway Currently Down

https://twitter.com/Railway/status/2056873075401007338
1•kristianc•10m ago•0 comments

El Niño is coming. The last time ocean temp. looked like this, millions died

https://respublicamgz.substack.com/p/a-super-el-nino-is-coming-the-last
4•ResPublica•13m ago•0 comments

50-year WHO/CDC Ebola outbreak pipeline in a weekend

https://github.com/vrsabha/outbreak-tracker
1•hn_career•15m ago•1 comments

Tell HN: Google banned Railway's account. Everything down

4•sergiotapia•16m ago•2 comments

GitHub is investigating unauthorized access to their internal repositories

https://twitter.com/github/status/2056884788179726685
5•splenditer•18m ago•1 comments

N display of stupid, secret CISA credentials found in public GitHub rep

https://arstechnica.com/information-technology/2026/05/in-stunning-display-of-stupid-secret-cisa-...
2•sbulaev•20m ago•1 comments

Google Cloud suspends Railway account causing major outage

https://twitter.com/Railway/status/2056883076496789854
4•sincinnatusc•21m ago•0 comments

Age Shapes the Adoption of New Technologies

https://insight.kellogg.northwestern.edu/article/swipe-or-tap-how-age-shapes-the-adoption-of-new-...
1•PopAlongKid•21m ago•1 comments

Google's AI Studio now lets anyone build Android apps in minutes

https://techcrunch.com/2026/05/19/googles-ai-studio-now-lets-anyone-build-android-apps-in-minutes/
1•cpncrunch•24m ago•0 comments

Heads, Trump Wins ( Tails, he still wins)

https://www.theatlantic.com/newsletters/2026/05/trump-corruption-irs-fund/687227/
1•KnuthIsGod•29m ago•0 comments

My Arduino spins faster when Claude burns more tokens

https://terminalbytes.com/arduino-claude-code-activity-meter/
1•mtlynch•29m ago•1 comments

HTML-in-Canvas Demos

https://github.com/GoogleChromeLabs/css-web-ui-demos/blob/main/html-in-canvas/awesome-html-in-can...
1•simonpure•30m ago•0 comments

Language Registries Are Unstable by Default

https://nesbitt.io/2026/05/15/language-registries-are-unstable-by-default.html
1•teddyh•30m ago•0 comments

Gemini Omni: where Gemini's ability to reason meets the ability to create

https://www.youtube.com/watch?v=KUyRq7szZsM
1•doener•30m ago•0 comments

CFTC sues to block Minnesota's first-in-nation ban on prediction markets

https://www.reuters.com/world/us-cftc-sues-minnesota-block-law-related-prediction-market-2026-05-19/
3•petethomas•32m ago•0 comments

Show HN: Capframe – capability tokens for AI agent tool calls

https://capframe.ai
1•euan21•32m ago•2 comments

Widening the Conversation on Frontier AI

https://www.anthropic.com/news/widening-conversation-ai
1•surprisetalk•33m ago•0 comments

Show HN: RTFRA - A Humble Proposal [RFC]

1•stgr_codes•34m ago•0 comments

Paul Schrader Had an 'AI Girlfriend' Who 'Terminated Our Conversation'

https://variety.com/2026/film/news/paul-schrader-ai-girlfriend-ended-relationship-1236753609/
1•Michelangelo11•34m ago•0 comments

Join a group chat with 30 random people that is locked forever

https://isle31.com/
2•vincentlenoach•35m ago•0 comments

ServiceNow wants to be the kill switch for AI agents that delete your database

https://fortune.com/2026/05/06/servicenow-kill-switch-ai-agents-bill-mcdermott/
1•ErystelaThevale•35m ago•1 comments

Ask HN: How are you handling the identity sprawl in your company/startup?

2•awaisras•36m ago•2 comments

Show HN: MediaMolder – A Modern Rewrite of FFmpeg

https://github.com/MediaMolder/mediamolder
2•streaming•37m ago•0 comments

Show HN: Alint, a fast linter for repository structure and hygiene

https://github.com/asamarts/alint
2•aleqs•39m ago•0 comments

Show HN: claude-autopilot, autonomous dev pipeline with multi-model review

https://github.com/axledbetter/claude-autopilot
2•axledbetter01•43m ago•2 comments

RTK: Rust Token Killer

https://github.com/rtk-ai/rtk
1•learningpodsio•44m ago•1 comments

Show HN: We built an AI strategy agent that runs consulting-style workflows

https://nitrolens.ai/
1•ianchou_0601•49m ago•0 comments