Show HN: Squishling (Ruby gem) – Keep code only when it's cheaper than tokens
Category: devtools
Tags: ruby, llm, ai-assisted-development, schema-validation, cost-optimization
Score: 6.8/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 5)
Squishling is a Ruby gem that treats code as a cache for AI judgment, letting methods run either their Ruby implementation or fall back to an LLM with schema-validated output. It enables zero-code integrations, error rescue via LLM failover, and token-cost measurement against code maintenance. The novel inversion of AI-as-code-generator to code-as-AI-optimizer is conceptually interesting and well-documented.
Target audience: backend developers
Repository: https://github.com/Coolhand-Labs/squishling · Ruby · Apache-2.0 · 11 stars
View on Hacker News