frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: CoshUI – A backend-agnostic UI engine for Python game development

https://gitlab.com/jylefv/CoshUI
1•jylefv•2h ago
CoshUI is a UI engine that's built to wrap around different game frameworks and easily slot into existing game loops. It is backend-agnostic, meaning the same UI code runs across different frameworks and graphics bindings with minor visual discrepancies.

The current supported backends are Pygame, Raylib, PyOpenGL, and ModernGL, switching backends is a one parameter change (PygameBackend(screen) to RaylibBackend() and etc.) the UI code stays identical.

To note, CoshUI technically acts like an immediate-mode UI library, but it takes a page out of React's book and reconciles state per frame, which lets it function like a retained-mode system.

Its features include: - An API that uses context managers for the "declarative" feel - A built-in interaction system through "signals" - An animation system through tweens - Custom and pre-made themes - Styling Nodes as you want - and more

CoshUI is a project I've been working on for a little less than 2 months, I started it by wanting to research UI systems for another lower-level project I'm working on that eventually grew too big in idea that I just had to publish it.

I would love feedback on not just the code, but also the API design, which was the main reason for this "research".

Reminder that this project is extremely young, I'm a self taught solo developer making all of this (the project and the documentation) in my free time before freshman year of college. There's a lot I probably missed, better and cleaner ways in doing things, and many features that could elevate the project. But it's ultimately learning material, and I would be grateful if you guys gave some thoughts on it.

Repository:

https://gitlab.com/jylefv/CoshUI (Primary)

https://github.com/JyleFV/CoshUI (Mirror)

Documentation:

https://terrarizer03.github.io/coshui-docs (there are unfinished pages)

Installation:

[pip install coshui]

The Music Industry is broken (by Drew Gooden) [video]

https://www.youtube.com/watch?v=Yx7baJMQuVA
1•Imustaskforhelp•35s ago•0 comments

Agentic runtime to find and heal edgecases during failures in deterministic runs

https://github.com/prakhar1114/ai_mime
1•prakharjain•1m ago•0 comments

Longterm use of intracortical brain–computer interface for speech&cursor control

https://www.nature.com/articles/s41591-026-04414-6
1•bookofjoe•7m ago•0 comments

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
2•plaur782•7m ago•0 comments

How Russia's Skyfall Nuclear-Powered Cruise Missile Works

https://www.twz.com/nuclear/here-how-russias-skyfall-nuclear-powered-cruise-missile-actually-works
1•pcestrada•9m ago•0 comments

Using an iPad Pro as a Laptop

https://justingarrison.com/blog/2026-06-20-ipad-laptop/
2•wrxd•9m ago•0 comments

A 3D cube written in JSX and CSS running natively at 60 FPS on a $3 MCU [video]

https://www.youtube.com/watch?v=pC3kNSWaL18
1•arbayi•11m ago•0 comments

The Early Days: The History of Interactive Computing

https://obsolescence.dev/interactive-computing-history.html
1•rbanffy•12m ago•0 comments

A Microsoft product from June 1979 led to the IBM PC

https://dfarq.homeip.net/how-a-microsoft-product-from-june-1979-led-to-the-ibm-pc/
1•rbanffy•13m ago•0 comments

Scheduled Tasks in ChatGPT

https://help.openai.com/en/articles/10291617-scheduled-tasks-in-chatgpt
1•khutorni•14m ago•0 comments

Show HN: AlphaVibe – AI that reads your DeFi wallet live via DeBank

https://quantarena.xyz/
1•denis4inet•15m ago•0 comments

"China Outpacing Us on AI": Why Musk Bought an Autonomous Coding Startup

https://en.sedaily.com/technology/2026/06/20/china-outpacing-us-on-ai-why-musk-bought-an-autonomous
1•modinfo•15m ago•0 comments

Claude Guillemot Ubisoft Co-Founder Dead in Plane Crash

https://www.thegamer.com/ubisoft-co-founder-claude-guillemot-dead/
3•Animatronio•15m ago•0 comments

Our billing pipeline was suddenly slow. A hidden bottleneck in ClickHouse

https://blog.cloudflare.com/clickhouse-query-plan-contention/
2•tosh•18m ago•0 comments

Acton – A Better Term for the Observer in Quantum Mechanics

1•-Zero•18m ago•0 comments

Show HN: Zero-config session-taste packer for AI agents

https://github.com/dvcoolarun/taste-ai
1•dvcoolarun•20m ago•0 comments

Innovations in the Nordstjernen Web Browser

https://medium.com/@andreasrosdal/innovations-in-the-nordstjernen-web-browser-8c2cf98bcc10
5•roschdal•24m ago•0 comments

South Korea’s experiment with State-Sponsored Romance

https://themagpost.com/post/south-korea-s-blind-date-subsidy-sparks-geopolitical-debate-on-state-...
2•modinfo•25m ago•0 comments

Vibe HN: VocaBowl (how many words do you know?)

https://vocabowl.netlify.app/
2•saulpw•25m ago•1 comments

Pong in S Favicon

https://pong-in-a-favicon.franzai.com/
3•theanonymousone•27m ago•0 comments

SpaceX Loses $600B After Announcing Acquisition of Cursor AI Coding Agent

https://www.forbes.com/sites/tylerroush/2026/06/18/spacex-stock-plunge-wipes-out-600-billion-afte...
3•Adam-Hincu•27m ago•1 comments

Did Anthropic talk its way into an AI export ban?

https://www.ft.com/content/16ace46c-aeac-40c9-8598-3c01fa4481cb
2•uxhacker•28m ago•0 comments

Show HN: Lelu – authorization engine that catches manipulated AI agents

https://github.com/lelu-auth/lelu
2•Abenezer0923•31m ago•0 comments

Loupe – A iOS app that raises awareness about what native apps can see

https://github.com/mysk-research/loupe
3•Cider9986•33m ago•0 comments

New (Old) 3D Golf: Porting PC-9801 and Virtual Boy to Mega Drive

https://blog.gingerbeardman.com/2026/06/19/new-old-3d-golf-porting-pc-9801-and-virtual-boy-to-meg...
2•msephton•35m ago•0 comments

Simulating Airband AM Radios

https://bitbashing.io/am-radio.html
3•sneleig•37m ago•0 comments

Talking to My Terminal with Local Speech-to-Text and Pi Coding Agent

https://www.agenticcodingweekly.com/p/talking-to-my-terminal-with-local-speech-to-text-and-pi-cod...
2•primaprashant•38m ago•0 comments

Postgres Managed by ClickHouse

https://clickhouse.com/cloud/postgres
2•tosh•39m ago•0 comments

Race Against Time to Save Brixton Market from Private Equity

https://novaramedia.com/2026/06/19/race-against-time-to-save-brixton-market-from-private-equity/
2•vincvinc•40m ago•0 comments

I Made the "Jump to Conclusions Mat" from Office Space

https://jumpoff.space
1•sacredjourney•40m ago•1 comments