frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Open-source, lightweight collaborative Python IDE for educators

https://pytogether.org
3•JawadR•7h ago
Google Docs for Python basically.

For the past 4 months, I’ve been working on a full-stack project I’m really proud of called PyTogether; a real-time collaborative Python IDE designed with beginners in mind (think Google Docs, but for Python). It’s meant for pair programming, tutoring, or just learning Python together. It’s completely free. No subscriptions, no ads, nothing. Just create an account, make a group, and start a project. Has proper code-linting, extremely intuitive UI, autosaving, and live cursors. There are no limitations at the moment (except for code size to prevent malicious payloads).

Why build this when Replit or VS Code Live Share already exist?

Because my goal was simplicity (and education). I wanted something lightweight for beginners who just want to write and share simple Python scripts (alone or with others), without downloads, paywalls, or extra noise. There’s also no AI/copilot built in, something many teachers and learners actually prefer. Also its free lol

Tech stack (frontend): React + TailwindCSS CodeMirror for linting Y.js for real-time syncing and live cursors Skulpt to execute Python in the browser (for safety - I initially wanted Docker containers, but that would eat too much memory at scale. Skulpt has a limited library, so unfortunately imports like pygame wont work). I don’t enjoy frontend or UI design much, so I leaned on AI for some design help, but all the logic/code is mine. Deployed via Vercel.

Tech stack (backend): Django (channels, auth, celery/redis support made it a great fit) PostgreSQL via Supabase JWT + OAuth authentication Redis for channel layers + caching Fully Dockerized + deployed on a VPS (8GB RAM, $7/mo deal)

Data models: Users <-> Groups -> Projects -> Code Users can join many groups Groups can have multiple projects Each project belongs to one group and has one code file (kept simple for beginners, though I may add a file system later).

There were a lot of issues I came across when building this project, especially related to the backend. My biggest issue was figuring out how to create a reliable and smart autosave system. I couldn't just make it save on every user keystroke because for obvious reasons, that would overwhelm the database especially at scale. So I came up with a solution that I am really proud of; I used Redis to cache active projects, then used Celery to loop through these active projects every minute and then persist the code to the db. I did this by tracking a user count for each project everytime someone joins or leaves, and if the user count drops to 0 for a project, remove it from Redis (save the code too). Redis is extremely fast, so saving the code on every keystroke is not a problem at all. I am essentially hitting 4 birds with one stone with this because I am reusing Redis, which I've already integrated into my channel layers, to track active projects, and to also cache the code so when a new user enters the project, instead of hitting the db for the code, it'll get it from Redis. I even get to use Redis as my message broker for Celery (didn't use RabbitMQ because I wanted to conserve storage instead of dockerizing an entirely new service). This would also work really well at scale since Celery would offload the task of autosaving a lot of code away from the backend. The code also saves when someone leaves the project. Another issue I came across later is if people try sending a huge load of text, so I just capped the limit to 1 MB (will tinker with this).

Deployment on a VPS was another beast. I spent ~8 hours wrangling Nginx, Certbot, Docker, and GitHub Actions to get everything up and running. It was frustrating, but I learned a lot.

If you’re curious or if you wanna see the work yourself, the source code is here. Feel free to contribute: https://github.com/SJRiz/pytogether.

I’m still learning, so any feedback would be amazing (and contributions)!

Santos Is Released After Trump Commutes His Sentence

https://www.nytimes.com/2025/10/17/us/politics/trump-george-santos-sentence-commute.html
1•ivape•1m ago•0 comments

Baltasar Gracián

https://en.wikipedia.org/wiki/Baltasar_Graci%C3%A1n
1•benbreen•13m ago•0 comments

StageConnect: Behringer protocol is open source

https://github.com/OpenMixerProject/StageConnect
1•jdboyd•13m ago•1 comments

Multilingual Document Parsing via a 0.9B Vision-Language Model

https://huggingface.co/papers/2510.14528
1•meander_water•19m ago•0 comments

Physicist Chen-Ning Yang, Nobel laureate, dies at 103

https://www.chinadaily.com.cn/a/202510/18/WS68f3170ea310f735438b5bf2.html
1•nhatcher•19m ago•1 comments

Killing Charles Dickens (2023)

https://www.newyorker.com/magazine/2023/07/10/on-killing-charles-dickens
1•bryanrasmussen•20m ago•0 comments

Reap: One-Shot Pruning for Trillion-Parameter Mixture-of-Experts Models

https://www.cerebras.ai/blog/reap
2•todsacerdoti•32m ago•0 comments

Netflix RT Dist Graph: Ingesting and Processing Data Streams at Internet Scale

https://netflixtechblog.com/how-and-why-netflix-built-a-real-time-distributed-graph-part-1-ingest...
1•mfrw•42m ago•0 comments

Gateway Algorithms and Data Structures Taskforce 1986 [pdf]

https://www.ietf.org/proceedings/01.pdf
1•o4c•43m ago•0 comments

Average Database: the best free-est, open source data platform

https://averagedatabase.com
1•hunvreus•45m ago•0 comments

Show HN: FastApps – zero-boilerplate framework for building ChatGPT apps

https://www.fastapps.org
2•zachpark•53m ago•4 comments

When parameterization fails: SQL injection in Nim's db_Postgres module

https://blog.nns.ee/2025/03/28/nim-postgres-vulnerability
1•TheWiggles•54m ago•0 comments

Israeli spyware company, NSO Group, blocked from WhatsApp

https://courthousenews.com/israeli-spyware-company-blocked-from-whatsapp/
3•aspenmayer•1h ago•2 comments

The Majority AI View

https://www.anildash.com//2025/10/17/the-majority-ai-view/
12•Bogdanp•1h ago•4 comments

How I ditched smartphones

https://discuss.techlore.tech/t/how-i-ditched-smartphones/15315
3•sipofwater•1h ago•1 comments

Men's Long Hair Hyperboard

http://mlhh.org/
2•gregsadetsky•1h ago•0 comments

Trump commutes the prison sentence of fmr NY Congressman George Santos

https://www.npr.org/2025/10/17/nx-s1-5578304/trump-george-santos-prison-sentence-commuted
6•pogue•1h ago•0 comments

Why Is the Wikipedia Page for Ostrich So Small?

https://en.wikipedia.org/wiki/Ostrich
2•ghastmaster•1h ago•3 comments

James Cameron interview with coast guard about oceangate; the design of his sub [pdf]

https://media.defense.gov/2025/Sep/17/2003800984/-1/-1/0/CG-115_INTERVIEW-DEEP-SEA-EXPLORER_REDAC...
2•mhh__•1h ago•0 comments

Chinese Nobel Prize-winning physicist Chen-ning Yang dies, aged 103

https://www.scmp.com/news/china/science/article/3329496/chinese-nobel-prize-winning-physicist-che...
3•defvar•1h ago•2 comments

Show HN: KickstartFX – The most advanced JavaFX template for your app with JDK25

https://github.com/xpipe-io/kickstartfx
1•crschnick•1h ago•0 comments

Super Ace: Your PH Home for Jili Slots and a 300% Welcome Bonus

https://panalobet.one/
1•bewan•1h ago•0 comments

AMD's Chiplet APU: An Overview of Strix Halo

https://chipsandcheese.com/p/amds-chiplet-apu-an-overview-of-strix
2•zdw•1h ago•0 comments

Why Replacing Humans with AI Is Going Horribly Wrong [video]

https://www.youtube.com/watch?v=JYEwkMzXxG8
1•mgh2•1h ago•0 comments

Product Hunt Astroturfed?

1•VladShumov•1h ago•0 comments

Armed man wearing 'non-offending pedophile' sign storms stage at Wikipedia con

https://www.nbcnews.com/news/us-news/armed-man-upends-nyc-wikipedia-conference-rcna238250
4•zdw•1h ago•1 comments

AT&T is raising home internet prices for the second year in a row

https://www.theverge.com/news/801423/att-fiber-home-internet-december-2025-price-raise-hike
5•thunderbong•1h ago•0 comments

Salesforce CEO apologises for saying Trump should send troops to San Francisco

https://www.bbc.com/news/articles/clykvypl9gxo
2•tartoran•1h ago•2 comments

Government shutdown could be longest ever – running until Thanksgiving

https://www.marketwatch.com/story/this-government-shutdown-could-be-the-longest-ever-maybe-runnin...
3•zerosizedweasle•1h ago•1 comments

Built an AI wealth app solo — now deciding whether to sell or scale it

https://www.sideprojectors.com/project/67099/wealthai
1•WoWSaaS•1h ago•0 comments