Getting Started
Supported Platforms
Security and Permissions
Rate Limits and Quotas
User-Pays Model
Framework Integrations
MCP Server
CLI
Deployments
Site Configuration
Examples
chat()
txt2img()
txt2speech()
speech2txt()
img2txt()
txt2vid()
speech2speech()
realtime()
Realtime WebSocket API (Beta)
listModels()
listModelProviders()
txt2speech.listEngines()
txt2speech.listVoices()
set()
get()
del()
list()
incr()
decr()
update()
add()
remove()
expire()
expireAt()
flush()
share()
unshare()
listShared()
listSharedByMe()
MAX_KEY_SIZE
MAX_VALUE_SIZE
write()
read()
upload()
readdir()
mkdir()
delete()
stat()
rename()
move()
copy()
getReadURL()
revokeReadURL()
getShares()
getShareLink()
space()
signIn()
isSignedIn()
signOut()
getUser()
getProfile()
getProfilePicture()
getMonthlyUsage()
getDetailedAppUsage()
create()
attach()
detach()
router
exec()
Dynamic Workers
TypeScript Types
fetch()
Socket
TLSSocket
serve()
connect()
createGuestGrant()
ensureTurnRelays()
onLocal()
off()
onPersistent()
unsubscribe()
onSchedule()
listSchedules()
getSchedule()
updateSchedule()
removeSchedule()
handlers
workers
Subjects and events
notify()
onNotification()
on()
dismiss()
markShown()
cancel()
Push notifications for your app
enable()
onPush()
status()
disable()
requestPermission()
hasPermission()
enablePush()
listDevices()
removeDevice()
sendTransactional()
request()
check()
Using another app's data
listDirectory()
checkName()
alert()
prompt()
showFeedbackDialog()
showOpenFilePicker()
showSaveFilePicker()
showDirectoryPicker()
createWindow()
setWindowTitle()
setWindowSize()
setWindowPosition()
setWindowWidth()
setWindowHeight()
setWindowX()
setWindowY()
showWindow()
hideWindow()
onWindowClose()
onLaunchedWithItems()
wasLaunchedWithItems()
onItemsOpened()
setMenubar()
contextMenu()
launchApp()
parentApp()
exit()
getLanguage()
showSpinner()
hideSpinner()
showColorPicker()
showFontPicker()
socialShare()
requestPictureInPicture()
exitPictureInPicture()
authenticateWithPuter()
print()
randName()
env
appID
AppConnection
App
CreateAppResult
ChatResponse
ChatResponseChunk
DetailedAppUsage
EmailListPage
EmailMessage
EmailMessageAttachment
EmailSummary
FSItem
KVPair
KVListPage
MonthlyUsage
PuterPeerConnection
PuterPeerServer
SignInResult
SpaceInfo
Speech2TxtResult
CustomDomain
Subdomain
Team
TeamDirectoryEntry
TTSEngine
TTSVoice
ToolCall
User
UserProfile
WorkerDeployment
WorkerInfo
puter.ui.showWindow()
Shows the window of your application.
None.
<html> <body> <script src="https://js.puter.com/v2/"></script> <script> puter.ui.showWindow(); </script> </body> </html>
NEXT
PREVIOUS