* perf(share): skip the legacy owner probe once a recorded share answers ownerHasShares ran its recorded-owner and legacy NULL-owner queries side by side, so the join to fsentries ran even when the first query already found a share. Run the legacy half only when the recorded half finds nothing; the answers stay the same. * perf(share): drop the NULL-owner fallbacks from owner and outbound reads ownerHasShares, listOutbound, countOutbound, the outbound apps summary and the team-row filter behind listByHolder/countByHolder each carried a second half for share rows written before entry_owner_user_id existed, matched by joining fsentries on a NULL owner. The column migration backfilled those rows from fsentries, so the joins only add work: each costs about min(owner's files, NULL-owner rows) per call. Every remaining read goes through entry_owner_user_id alone. Invite rows (no fsentry, no owner) are matched as before: they were never reachable through the joins. Self-contained so it can be reverted on its own. It assumes existing data has no share row that names an fsentry but has a NULL entry_owner_user_id; if any remain, they stop showing up in these reads. * fix(share): backfill the entry owner on share rows written without it The share reads now match on entry_owner_user_id alone. Add a migration for each engine that fills that column from fsentries on every row that names an entry but still has a NULL owner, so the backfill runs before the reads stop looking at NULL-owner rows and their answers don't depend on what existing data holds. Rows that name no entry (invites) keep a NULL owner, and a replay finds nothing to fill. * fix(share): record the entry owner when a claim names its entry applyPending can point a claimed invite at an entry, but left entry_owner_user_id NULL, so the row was missing from the owner's reads that now match on that column alone. Fill it from fsentries with the same subquery the upserts use. The share service claims without an entry today; the parameter stays for callers that pass one. * refactor(share): read the app from the data column directly Every caller of the app filter and the app expression passes the share row's own data column now, so the column argument goes. Also names the owner probe test after what it checks and puts back an unrelated line the earlier formatting pass had reflowed. * chore(share): drop the redundant MySQL and Postgres owner backfills MySQL and Postgres replay every migration file on boot, and mysql_mig_47 and postgres_mig_36 already end with the same owner backfill, so they re-run it on every boot. Only SQLite, which tracks a schema version and runs each file once, needs its own backfill migration (0103). * fix(share): list a team row for its members when no entry owner is recorded * refactor(share): claiming an invite leaves its entry and owner as written * test(db): run the share owner backfill against the full prior schema * fix(share): ship the owner backfill as its own MySQL and Postgres migration The backfill at the end of mysql_mig_47 and postgres_mig_36 replays on boot only when database.migrationPaths is set. A new file gives installs that apply migrations another way a step to run; a replay finds nothing to fill.
The Open-Source Internet Computer!
« LIVE DEMO »
Puter.com
·
App Store
·
AI Builder
·
Developers
·
X
Puter
Puter is an advanced, open-source, self-hostable internet computer designed to be feature-rich, fast, and highly extensible.
For Users
Puter's goal is to provide you with every app and feature you need to work, create, and play under one roof. From a simple Notepad and Voice Recorder to Spreadsheet and Camera, Puter wants to be the all-in-one solution for your digital life.
For Developers
Puter provides everything you need to build and publish web apps and games. From AI to Cloud Storage and Database to Serverless Workers, Puter has you covered. Puter also helps you get users! Once you build your app, you can publish it on our App Store to reach and monetize users.
Getting Started
💻 Local Development
git clone https://github.com/HeyPuter/puter
cd puter
npm install
npm start
→ This should launch Puter at http://puter.localhost:4100
To run this checkout with Docker, follow Building from source. Create a local docker-compose.override.yml to select the local build; keeping these settings out of docker-compose.yml avoids conflicts when pulling updates and keeps local configuration out of pull requests.
🚀 Self-Hosting
Linux/macOS
curl -fsSL https://puter.com/selfhost | sh
Windows
irm https://puter.com/selfhost?os=windows | iex
→ For more details, see Self-Hosting Puter.
☁️ Puter.com
Puter is available as a hosted service at puter.com.
Support
Connect with the maintainers and community through these channels:
- Bug report or feature request? Please open an issue.
- X (Twitter): x.com/HeyPuter
- Security issues or abuse reports? security@puter.com
- Email maintainers at hi@puter.com
We are always happy to help you with any questions you may have. Don't hesitate to ask!
License
This repository, including all its contents, sub-projects, modules, and components, is licensed under AGPL-3.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.
Translations
- Arabic / العربية
- Armenian / Հայերեն
- Bengali / বাংলা
- Chinese / 中文
- Danish / Dansk
- English
- Farsi / فارسی
- Finnish / Suomi
- French / Français
- German / Deutsch
- Hebrew/ עברית
- Hindi / हिंदी
- Hungarian / Magyar
- Indonesian / Bahasa Indonesia
- Italian / Italiano
- Japanese / 日本語
- Korean / 한국어
- Malay / Bahasa Malaysia
- Malayalam / മലയാളം
- Dutch / Nederlands
- Polish / Polski
- Odia / ଓଡ଼ିଆ
- Portuguese / Português
- Punjabi / ਪੰਜਾਬੀ
- Romanian / Română
- Russian / Русский
- Spanish / Español
- Swedish / Svenska
- Tamil / தமிழ்
- Telugu / తెలుగు
- Thai / ไทย
- Turkish / Türkçe
- Ukrainian / Українська
- Urdu / اردو
- Vietnamese / Tiếng Việt

