mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-23 14:17:06 +00:00
* Remove the desktop's Publish Website window The right-click menu on desktop folders and on an Explorer window's background no longer has a Publish as Website item. This removes UIWindowPublishWebsite, the publishAsWebsite helper that opened it, both menu items, the window's CSS, window.extractProtocol (only the window used it), and the dir_published_as_website and pick_name_for_website i18n keys. The dashboard keeps publishing websites through its own dialog. generateFileContextMenu no longer falls back to the removed window, so it offers Publish as Website only when the caller passes onPublishWebsite, which the dashboard's Files tab does. The website badge on desktop items and the backend hosting API are unchanged. * Remove the desktop's Hide Desktop Icons toggle The desktop's right-click menu no longer has a Hide/Show Desktop Icons item. Without the wallpaper, hiding the icons left an empty page. This removes the menu item, toggleDesktopIcons/hideDesktopIcons/ showDesktopIcons, the boot-time read of the saved setting, and the .desktop-icons-hidden CSS rule. puter.js's GUI boot cache no longer batch-fetches desktop_icons_hidden, menubar_style or user_preferences.clock_visible, which nothing reads anymore. Values already saved under those keys stay in KV, unread. Also drops the desktop's BroadcastChannel, whose message handler was empty and which nothing else referenced. * Remove the desktop's ?download= link handler Opening puter.com/?download=<url> or /desktop?download=<url> no longer asks to save that remote file to the Desktop. The parameter is ignored, and a root URL that carries it boots the dashboard like any other root URL instead of forcing the desktop. This removes the handler in UIDesktop, its UIWindowProgress import, the download entry in the GUI's dashboard routing, and the confirm_download_file_to_desktop, downloading, downloading_file, uploading_file and error_download_failed i18n keys only it used. The decision of whether a page load boots the dashboard moves from an inline block in initgui into helpers/bootsDashboard.js, so it is tested. * Stop granting Camera and Recorder Desktop access on desktop boot The desktop no longer grants Camera and Recorder write access to the user's Desktop folder the first time it loads. Those apps now ask through the normal permission prompt, as they already did for users who only used the dashboard. Grants already given stay in place. puter.js's GUI boot cache no longer batch-fetches the has_set_default_app_user_permissions flag that kept the grant to one run. Values already saved under it stay in KV, unread. * Redirect /@username links to the dashboard puter.com/@<username> no longer opens that user's Public folder on the desktop. The backend now redirects /@:username to /, so old links land on the dashboard instead of booting the desktop. This removes the GUI's /@ handler and the error_invalid_username i18n key only it used. error_user_or_path_not_found stays, since share links still use it. * Redirect /desktop/app links and stop opening share links on the desktop /desktop/app/<name> now redirects to /app/<name>, keeping its query string, so the app opens in the dashboard. The backend no longer serves an app shell there, OIDC sign-in no longer returns to it, and the GUI no longer strips a leading /desktop from its route segments. The rate-limits page lists only /app/<name>, the route the limit still applies to. /desktop?shared=<path> no longer opens the shared item on the desktop. The desktop ignores ?shared=: it doesn't ask a guest to sign in for it, doesn't switch to the account a share email names, and OIDC sign-in from /desktop doesn't carry it along. Share emails link to /?shared=, which the dashboard handles as before. Opening a share notification on the desktop still opens the item. * Remove the desktop's ?app=explorer link handler ?app=explorer[&path=<folder>] no longer boots the desktop and opens an Explorer window. ?app= is ignored and no longer forces the desktop, so a root URL that carries it opens the dashboard, and /app/<name>?app=... now launches its app in the dashboard instead of booting the desktop and launching nothing. * Stop ?puter.fullpage= from booting the desktop The root and /app/<name> with ?puter.fullpage= now open in the dashboard like a plain /app/<name>, with the app maximized. The dashboard always shows apps full page, so the parameter no longer overrides that. Iframe embeds and popups, which still boot the desktop, read it as before. bootsDashboard no longer takes the query string, since no parameter decides the interface anymore.
Puter.js Docs
Docs · Developer · Puter.com · X
Puter.js Docs
The Puter.js documentation contains everything you need to build powerful applications with Puter.js.
- Get started with Puter.js by reading documentations on usage and best practices
- Browse all available APIs, including AI, networking, authentication, and cloud services
- Find code examples and implementations to speed up your development
Getting Started
💻 Local Development
git clone https://github.com/HeyPuter/docs
cd docs
npm install
npm run dev
→ This should launch Puter.js Docs at http://127.0.0.1:8080 (or the next available port).
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? 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 its sub-projects, modules, and components, is licensed under MIT, and its content is licensed under CC BY-SA 4.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.
