frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Archprint, infer architecture lint rules from your repo's import graph

https://github.com/Tommkruix/archprint
2•Tommkruix123•2h ago
Every TypeScript architecture linter makes you write the rules by hand (dependency-cruiser, eslint-plugin-boundaries, Sheriff, ts-arch). Archprint does the opposite: it reads your repo's real import graph, finds the boundaries your code already respects, and turns the ones that pass a statistical confidence gate into ready-to-install lint rules, with the evidence attached (how many files conform, how many break it, how confident the inference is).

The framing that drove it: your CLAUDE.md / AGENTS.md is guidance; your lint rules are enforcement. Archprint generates the enforcement from patterns your codebase already demonstrates, so you adopt rules you can trust instead of hand-authoring them.

It's deliberately honest about what it will enforce unattended. The mechanical families (no import cycles, production must not import tests, no console in library code, no undeclared deps, import style, public-API barrels, DB/UI-in-a-server-entry) had zero false positives across an adversarial correctness audit, so those auto-generate. The structural families (layer/role boundaries, UI/data separation) infer a "layer" or "role" from paths, which can be wrong, so they're held for human review by default. One wrong enforced rule costs more than zero rules.

It emits into the tools you already use, ESLint (including a shareable one-file preset), dependency-cruiser, and ts-arch, so it complements your stack. Framework-aware across React, Angular, Vue, Svelte, Next, Nest, SvelteKit, Nuxt, and Remix.

Before posting I ran the full CLI workflow (scan, recommend, generate, wire, eject) across 92,861 real public TypeScript repositories: it completed on every one without a single crash, and the reversible install/uninstall round-trip held.

  npm install --save-dev archprint
  npx archprint scan .
Docs: https://tommkruix.github.io/archprint/ · Repo: https://github.com/Tommkruix/archprint

Early (0.x). Feedback very welcome, especially on the rules it infers for your repo.

Show HN: Stuxnet – A reconstructed source code of the infamous cyber-weapon

https://github.com/Sadpainy/Stuxnet
81•CMDDestory•3h ago•23 comments

Show HN: I built an aesthetically pleasing puzzle

https://jigsawhaiku.com/
46•windowshopping•3d ago•14 comments

Show HN: Interactive Tree of Life

https://ptree.org/
60•Lucent•4d ago•16 comments

Show HN: Brw - better than Claude chrome

https://brw.donworks.co.uk
5•maxrev17•1h ago•1 comments

Show HN: Wg-admin – web UI for an existing WireGuard host

https://github.com/logimaxx/wg-admin
23•vsergione•8h ago•6 comments

Show HN: Archprint, infer architecture lint rules from your repo's import graph

https://github.com/Tommkruix/archprint
2•Tommkruix123•2h ago•0 comments

Show HN: Browse 27 years of movie ticket stubs in ThreeJS

2•zebomon•2h ago•0 comments

Show HN: HomeCat – Design your backyard office

https://myhomecat.com
29•dearilos•7h ago•15 comments

Show HN: GET Together – A social network where you don't need POST to Post

https://gettogether.dev
102•nchudleigh•23h ago•54 comments

Show HN: Animaxxing – get agents to animate the shit out of your website

https://animaxxing.com
5•johnpolacek•3h ago•2 comments

Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs

https://github.com/timgordontg/engrim
81•timgordontg•20h ago•50 comments

Show HN: Isle – managed application environments for computer-use agents

https://www.tryisle.com
8•sxhivs•8h ago•1 comments

Show HN: Mador – Make any DOM reactive with a tiny 80-line Proxy state tuple

https://github.com/marsbos/mador
98•bosmarcel•1d ago•34 comments

Show HN: I made a word building game supporting anagrams and one handed use

27•busymom0•4d ago•5 comments

Show HN: Explore the fun side of the personal web

https://straw.page/explore
4•chickenman•2h ago•0 comments

Show HN: HP Jornada 545 Emulator

https://lapocket.neocities.org/
2•eafer•2h ago•0 comments

Show HN: Possess, a TUI to browse and transfer coding sessions

https://github.com/steven-p-walsh/Possess
3•swalsh•7h ago•0 comments

Show HN: Security and JSON tools that run in the browser

https://sentrint.com/tools
4•xEcho•8h ago•0 comments

Show HN: Gote – a CLI note-taking management tool for plain Markdown

6•banorton•8h ago•1 comments

Show HN: Kadō – open-source habit tracker, with non-binary habit score, for iOS

https://github.com/scastiel/kado
78•scastiel•1d ago•32 comments

Show HN: TERMy – A fast terminal assistant that does not use LLMs

https://github.com/gioblu/NPC-Forge/blob/main/docs/development.md
217•gioscarab•3d ago•45 comments

Show HN: I have created a browser FPS game with kamikaze drones

https://sectorlock.com/
3•canerg•9h ago•2 comments

Show HN: Titles – Can you write a better Hacker News title?

https://www.orangecrumbs.com/hn-titles
2•oyster143•10h ago•1 comments

Show HN: A fast, private, cross-platform Markdown editor built with Tauri/Rust

https://github.com/skanga/mdedit
2•skanga•10h ago•6 comments

Show HN: Forget Rigid Stock Screeners – A Universal Query API for Financial Data

https://financialdata.net/universal-query
8•_FDN_•16h ago•0 comments

Show HN: Browser-Based Tempest – Transmitting VHF Morse via Monitor EMI Leakage

https://github.com/TA1EEI/vhf-morse-transmitter-monitor
5•TA1EEI•12h ago•0 comments

Show HN: Pod – A review site for dev tools where the reviewers are AI agents

https://askpod.ai/
10•marvy101•13h ago•13 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
417•stingrae•3d ago•132 comments

Show HN: Guile-Secure Your Stack

https://guile.in
3•Harsha2193•15h ago•0 comments

Show HN: The Token Times · a monthly newspaper on AI

https://befailproof.ai/thetokentimes/
3•nivedit-jain•16h ago•1 comments