frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: PyTogether, open-source lightweight real-time Python IDE for learners

https://pytogether.org
4•JawadR•2d 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)!

Orca-trackers harness telecoms cable network

https://divernet.com/scuba-news/marine-biology/orca-trackers-harness-telecoms-cable-network/
1•pooyamehri•11m ago•0 comments

Programming language agnosticism is the only way to move forward in life

1•amano-kenji•17m ago•0 comments

Organizing your Nix configuration without flakes

https://somas.is/note-organizing-nix-configuration-without-flakes.html
1•amcclure•18m ago•0 comments

Volvelle, an early example of a paper analog computer

https://en.wikipedia.org/wiki/Volvelle
1•valzevul•26m ago•0 comments

The Launchpad macOS 26 deserves

https://www.launchie.app
1•nickfthedev•32m ago•0 comments

Dumper: CLI utility for creating database backups – PostgreSQL, MySQL and others

https://github.com/elkirrs/dumper
2•thunderbong•37m ago•0 comments

Scientists Discover How Leukemia Cells Evade Treatment

https://www.rutgers.edu/news/scientists-discover-how-leukemia-cells-evade-treatment
1•geox•39m ago•0 comments

The Inevitable Shift from Prompts to Answers

https://www.aivojournal.org/the-inevitable-shift-from-prompts-to-answers/
2•businessmate•46m ago•1 comments

BoE chief: Brexit impact on UK economy negative for foreseeable future

https://news.sky.com/story/brexit-impact-on-uk-economy-negative-for-foreseeable-future-bank-of-en...
3•teleforce•46m ago•0 comments

I wish SSDs gave you CPU performance style metrics about their activity

https://utcc.utoronto.ca/~cks/space/blog/tech/SSDWritePerfMetricsWish
1•zdw•52m ago•0 comments

Lightning Computational Graph Theory

https://www.youtube.com/watch?v=A-z2ZIMWbuY
3•_untra_•55m ago•0 comments

But AI companies grow so fast

https://99d.substack.com/p/but-ai-companies-grow-so-fast
2•airstrike•55m ago•0 comments

Researchers find adding simple sentence to prompts makes AI models more creative

https://venturebeat.com/ai/researchers-find-adding-this-one-simple-sentence-to-prompts-makes-ai-m...
3•jdnier•1h ago•0 comments

Mortality in the news vs. what we usually die from

https://flowingdata.com/2025/10/08/mortality-in-the-news-vs-what-we-usually-die-from/
2•paulpauper•1h ago•0 comments

What I Learned from Lifting

https://www.atvbt.com/what-i-learned-from-lifting/
2•paulpauper•1h ago•0 comments

Another axiom that Euclid missed

https://web.archive.org/web/20250821165148/https://mathenchant.wordpress.com/2025/01/17/the-real-...
2•gsf_emergency_4•1h ago•0 comments

Show HN: NoCloud Bulk Image Converter (Cross-Platform, Privacy-First)

https://github.com/goto-eof/noc-convert
1•cbrx31•1h ago•1 comments

Dive-computer evidence ignored after 12yr-old's death

https://divernet.com/scuba-news/health-safety/death/dive-computer-evidence-ignored-after-12yr-old...
3•pooyamehri•1h ago•2 comments

Show HN: Drag to AirDrop

https://sindresorhus.com/menu-drop
3•mofle•1h ago•1 comments

Kintsugi Love

https://asim.bearblog.dev/kintsugi-love/
4•asim-shrestha•1h ago•1 comments

The traffickers are winning the war on drugs

https://www.economist.com/briefing/2025/10/16/the-traffickers-are-winning-the-war-on-drugs
26•coloneltcb•1h ago•19 comments

'Girl Take Your Crazy Pills ': Antidepressants Recast as Hot Lifestyle Accessory

https://www.wsj.com/health/wellness/anti-depressants-lifestyle-accessory-3b66027d
4•clanky•1h ago•2 comments

Zeno – open-source AI assistant that turns ideas into tasks

https://zenoapp.site/
2•CrazyCompiler01•1h ago•0 comments

Progress on defeating lifetime-end pointer zapping

https://lwn.net/Articles/1038757/
1•pykello•1h ago•0 comments

Wealth AI – Your Personal AI CFO That Understands Every Rupee You Spend

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

Nutrition Beliefs Are Just-So Stories

https://www.cremieux.xyz/p/nutrition-beliefs-are-just-so-stories
4•smnthermes•2h ago•1 comments

Verbalized Sampling: How to Mitigate Mode Collapse and Unlock LLM Diversity

https://arxiv.org/abs/2510.01171
1•jdnier•2h ago•0 comments

Is the Serenibrain EEG headband the best alternative to the Muse headband?

https://ihnnk.tech/pages/mindfulness-meditation-system
1•lijunshi•2h ago•0 comments

Rotring NC-Scriber CS 100 (1990)

https://archive.org/details/rotring-nc-scriber-cs-100-1990
3•gregsadetsky•2h ago•0 comments

How I bootstrapped a platform with a team of LLMs

https://alyx.substack.com/p/how-i-bootstrapped-a-platform-with
2•larakerns•2h ago•0 comments