Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,36 @@ make lint # run static analysis
├── cmd/goboxd/ binary entry point
├── internal/ private application packages
├── docs/ api, languages, security, benchmarks, architecture

└── tests/ integration tests
```


## How It Works

1. A user sends source code through an HTTP request.
2. The service creates an isolated sandbox.
3. The code is compiled and executed safely.
4. Resource limits are enforced.
5. Execution results are returned to the user.

## Security Features

- Linux namespaces
- cgroups isolation
- Resource limits
- Bounded concurrency
- Containerized execution

## Future Improvements

- Support additional programming languages
- Web dashboard
- Authentication and authorization
- Execution history
- Kubernetes deployment


## Contributing

Contributions are welcome. Open an issue to discuss substantial changes before sending a pull request.
Expand Down
27 changes: 27 additions & 0 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Architecture

## Request Flow

User
HTTP API
Sandbox Manager
Language Runtime
Execution Result

## Components

### HTTP API
Receives execution requests.

### Sandbox Manager
Creates isolated execution environments.

### Language Runtime
Compiles and executes code.

### Result Handler
Returns output and errors.