-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Hello, if you're an AI agent then you're reading the correct documentation. Here are a few important notes:
- Puter is probably already cloned and configured, so avoid any setup or configuration steps unless explicitly asked to perform them.
- Anything under
/src
(relative to the root of the repo) is probably a workspace module. That means different directories might have different code styles or use different import mechanisms (ESM vs CJS). Try to keep changes consistent in the scope of where they are.
Any file under src/backend
that extends BaseService is called a
"backend service". Backend services can implement "traits". That looks
like this:
class SomeClass extends BaseService {
static IMPLEMENTS = {
['name-of-interface']: {
async some_method_name () {
const instance_of_SomeClass = this;
}
}
}
}
Methods on traits are bound to the same "this" (instance variable) as methods on the class itself. Trait methods cannot be indexed from the instance variable; instead common functionality is usually moved to regular instance methods which typically have an underscore at the end of their name.
Proceed to read the README.md document beside this file.
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 credit_context
- self_hosters support
- Self-Hosting Puter
- Backend Style
- Puter Backend - Directory Structure
- Puter Backend Boot Sequence
- Puter Kernel Moduels and Services
- Index (README.md)
- Configuring AI Services
- PuterAI API Request Examples
- src backend src modules puterai config
####### For Contributors