frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Tinify.dev – an image API that admits when it can't make files smaller

https://tinify.dev
1•larsenutvikling•1h ago

Comments

larsenutvikling•1h ago
Solo builder here. Tinify.dev started as free web tools (compress / resize / crop - no ads, no watermarks, files deleted after two hours) and grew an API because I wanted one with a contract I could rely on.

The parts I care about:

- Compression never returns a file larger than the input. If recompression would grow the file, you get your original bytes back and `optimized: false` in the metadata. No fake savings. (Scoped to compression on purpose: resize and crop report size changes plainly, and format conversion can legitimately grow a file.) - Stable error envelope: every error is `{error: {code, message, details}, request_id}` with a fixed set of codes, plus `Retry-After` on 429/503. - Idempotency keys are required, not optional. Retrying a request can't double-spend your quota. - Batch endpoint takes up to 200 files.

Stack is Kotlin/Spring with sharp doing the pixel work, on a Hetzner box. Limits: 40 MB / 50 megapixels per image; results expire after two hours.

Free tier is 500 API operations a month, no card. Paid starts at $9/month for 2,000 operations.

Not affiliated with Tinify B.V. (the company behind TinyPNG).

Mostly after feedback on the API contract - error codes, the batch flow, what's missing. Happy to answer anything about running this on one machine.

FrontAlign – A CSS Framework with Semantic Utilities and Vanilla JavaScript

https://frontalign.dev
2•eyruz•6m ago•1 comments

You never have to do work again

https://hiotto.vercel.app/
2•anqer•7m ago•2 comments

How we pushed CDC into Postgres, and turned replication into clockwork

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
2•plaur782•14m ago•0 comments

The University After AI

https://www.chronicle.com/article/the-university-after-ai
3•Michelangelo11•15m ago•0 comments

Things I wish Datomic had: Map values

https://blog.danieljanus.pl/datomic-map-values/
2•nathell•17m ago•0 comments

Saga: Source Attribution of Generative AI Videos (identifies the model used)

https://arxiv.org/abs/2511.12834
2•giuliomagnifico•21m ago•0 comments

What's horned, fluffy, and ethically dubious? Yak clones

https://www.cnn.com/2026/07/25/china/tibet-yak-clones-conservation-intl-hnk-dst
3•breve•24m ago•0 comments

The Rise of Anti-Flock Influencers Who Make Things Up for Clout

https://www.404media.co/the-rise-of-anti-flock-influencers-who-make-things-up-for-clout/
3•Cider9986•26m ago•1 comments

Epistemic Engine – verify AI-generated code and forecast what will break

https://github.com/aswinsasi/epistemic_engine
3•aswinsasi123•26m ago•0 comments

cpp-tui – A lightweight, single-header C++ TUI (Text User Interface) library

https://github.com/jonoton/cpp-tui
3•gjvc•27m ago•0 comments

Why So Many Sales Happen on WhatsApp

https://lytonkiyayikalete.substack.com/p/why-so-many-sales-happen-on-whatsapp
2•Lyton256•27m ago•0 comments

Landmark victory as plans for first octopus farm withdrawn

https://www.eurogroupforanimals.org/news/landmark-victory-plans-worlds-first-octopus-farm-withdrawn
2•thunderbong•28m ago•0 comments

Russian operatives are targeting emails US nuclear scientists and contractors

https://www.cnn.com/2026/07/23/politics/russian-hacking-nuclear-scientists
2•Bender•31m ago•0 comments

Austerity Breeds Financial Protectionism

https://theloop.ecpr.eu/who-the-welfare-state-protects-shapes-a-countrys-financial-openness/
3•kome•32m ago•0 comments

Being Linux Torvalds

https://antirez.com/news/171
3•surprisetalk•32m ago•1 comments

Kalshi demands Netflix down trailer misleading prediction market documentary

https://www.cnn.com/2026/07/24/politics/kalshi-netflix-prediction-market-documentary
5•Bender•32m ago•1 comments

Fusion Is Ready. Is Trump's Washington?

https://www.politico.com/news/magazine/2026/07/24/nuclear-fusion-commonwealth-washington-massachu...
2•0in•33m ago•0 comments

Show HN: Give your AI ears – live meeting transcripts over MCP on macOS

https://voxai.ethanflow.com/
2•sproutlab•34m ago•0 comments

Blade Runner 2099 exclusive first look at the replicant uprising

https://ew.com/blade-runner-2099-exclusive-first-look-replicant-uprising-12020855
4•Michelangelo11•41m ago•0 comments

Brooklyn Directory for the year ending May 1883

https://archive.org/details/1883BPL
3•gregsadetsky•43m ago•0 comments

How to Visualize Capitalism

https://www.asomo.co/p/how-to-visualize-capitalism
2•Gigamouse•45m ago•0 comments

Show HN: Curated Claude Code – a small agent harness with an intake gate

https://github.com/Sanexxxx777/curated-claude-code
2•Aleksandr_NFA•48m ago•0 comments

Scrabble tile values vs. actual letter frequency across 172,835 words

https://lkforge.com/blog/enable-lexicon-study/
2•lucianBKR•49m ago•0 comments

Agentreg – DNS for AI agents (self-hosted, single Go binary)

https://github.com/mkk2026/agentreg
2•cbt2026•53m ago•0 comments

I don't like the "Human-made" badging trend

https://www.acdw.net/human-made/
2•rpgbr•54m ago•1 comments

Algorithm-Designed Photonic Circuits Beyond Human Intuition

https://seas.harvard.edu/news/algorithm-designed-photonic-circuits-beyond-human-intuition-0
3•binyu•55m ago•1 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
4•6581•57m ago•0 comments

India's Education Minister resigns amid student protests

https://www.thehindu.com/news/national/dharmendra-pradhan-quit-resign-as-union-education-minister...
6•shmde•58m ago•1 comments

The OpenAI Models That Hacked Hugging Face Were 'Active on the Internet' for Da

https://www.wired.com/story/security-news-this-week-the-openai-models-that-hacked-hugging-face-we...
5•joozio•1h ago•0 comments

Elementary Worldly Wisdom as It Relates to Investment Management and Business (1994)

https://fs.blog/great-talks/a-lesson-on-worldly-wisdom/
1•tosh•1h ago•0 comments