- Notifications
You must be signed in to change notification settings - Fork 3.2k
contributors extensions definitions
Puter's configuration object. This includes values from config.json or their defaults, and computed values like origin and api_origin.
const config = use('core.config'); extension.get('/get-origin', { noauth: true }, (req, res) => { res.send(config.origin); })These utilities come from src/backend/src/util in Puter's repo. Each file in this directory has its exports auto-loaded into this namespace. For example, src/backend/src/util/langutil.js is available via use('core.util.langutil') or use.core.util.langutil.
Common utility functions used throughout Puter's backend. Use with caution as some of these functions may be deprecated.
note: the following documentation is incomplete
- Returns
"array"ifthingis an array. - Returns
"null"ifthingisnull. - Returns
typeof thingfor any other case.
Simply a "null or undefined" check.
Checks if something has the specified capabilities. At the time of writing the only one supported is iterate, which will check if value[Symbol.iterator] is truthy
This wiki is generated from the repository. Do not edit files the wiki.
You are reading documentation for Puter, an open-source high-level operating system.
Getting started with Puter on localhost is as simple as:
git clone https://github.com/HeyPuter/puter.git npm install npm run start- Index (README.md)
- api drivers
- Group Endpoints
- Notification Endpoints
- Share Endpoints
- Type-Tagged Objects
- Comment Prefixes
- contributors vscode
- Local Email Testing
- Puter Extensions
- Repository Structure and Tooling
- Configuring Domains for Self-Hosted Puter
- Configuring Puter
- First Run Issues
- self_hosters config_values
- self_hosters support
- Self-Hosting Puter
- Backend Style
- Puter Backend - Directory Structure
- Puter Backend Boot Sequence
- Puter Kernel Moduels and Services
- Batch and Symlinks
- Metered Services and Cost Management
- Protected Apps and Subdomains
- Service Scripts
- Index (README.md)
- Configuring AI Services
- PuterAI API Request Examples
- src backend src modules puterai config
####### For Contributors