- Notifications
You must be signed in to change notification settings - Fork 3.2k
contributors structure
Puter has many of its parts in a single monorepo, rather than a single repository for each cohesive part. We feel this makes it easier for new contributors to develop Puter since you don't need to figure out how to tie the parts together or how to work with Git submodules. It also makes it easier for us to maintain project-wide conventions and tooling.
Some tools, like puter-cli, exist in separate repositories. The puter-cli tool is used externally and can communicate with Puter's API on our production (puter.com) instance or your own instance of Puter, so there's not really any advantage to putting it in the monorepo.
The top-level doc directory contains the file you're reading right now. Its scope is documentation for using and contributing to Puter in general, and linking to more specific documentation in other places.
All doc directories will have a README.md which should be considered as the index file for the documentation. All documentation under a doc directory should be accessible via a path of links starting from README.md.
Every directory under /tools is an npm "workspaces" module. Every direct child of this directory (generally) has a package.json and a src directory.
Some of these modules are core pieces of Puter:
- Puter's backend is
/src/backend - Puter's GUI is
/src/gui
Some of these modules are apps:
- Puter's Terminal:
/src/terminal - Puter's Shell:
/src/phoenix - Experimental v86 Integration:
/src/emulator- Note: development is focused on Puter PDE files instead (docs pending)
Some of these modules are libraries:
- common javascript:
/src/putility - runtime import mechanism:
/src/useapi - Puter's "puter.js" browser SDK:
/src/puter-js
When you're running Puter with development instructions (i.e. npm start), Puter's configuration directory will be volatile/config and Puter's runtime directory will be volatile/runtime, instead of the standard /etc/puter and /var/puter directories in production installations.
We should probably rename this directory, actually, but it would inconvenience a lot of people right now if we did.
Every directory under /tools is an npm "workspaces" module.
This is where run-selfhosted.js is. That's the entrypoint for npm start.
These tools are underdocumented and may not behave well if they're not executed from the correct working directory (which is different for different tools). Consider this a work-in-progress. If you want to use or contribute to anything under this directory, for now you should tag @KernelDeimos on the community Discord.
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