PackageTrack
Sign in Get early access

github.com/nalgeon/codapi

v0.14.0 #806 most downloaded on Go modules nalgeon/codapi

What this package is like to depend on

Last release 4 months ago

20 Apr 2026

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

20 releases · first in 2023

5 releases in the last 12 months

see the full history below

Release timeline

20 releases · Dec 2023 to Apr 2026
2024 2025 2026
Release Pre-release

Releases

latest 20
  1. v0.14.1-0.20260420091820-08670139eab3 20 Apr 2026 pre-release

    Nothing published for this version

  2. v0.14.0 18 Apr 2026
    Release notes

    Dropped the DOCKER environment variable introduced in 0.13.1 in favor of the docker.bin config option in codapi.json. Having a single configuration source is strictly better.

    Example:

    {
        "pool_size": 8,
        "verbose": true,
        "docker": {
            "bin": "nerdctl"
        }
    }

    Also: updated Go version to 1.24.

    Open source →
  3. v0.13.1 17 Apr 2026
    Release notes

    You can now override the default docker executable name with the DOCKER environment variable (#36, courtesy of @afbjorklund).

    Open source →
  4. v0.13.0 13 Dec 2025
    Release notes

    Added a health endpoint to check if the server is up:

    HEAD /v1/health
    
    Open source →
  5. v0.12.1 26 Sep 2025
    Release notes

    You can now create nested directories when running a command in a sandbox.

    Before, this request gave an error because the data directory didn't exist:

    POST /v1/exec
    
    {
        "sandbox": "ash",
        "command": "run",
        "files": {
            "": "cat data/hello.txt",
            "data/hello.txt": "hello world!"
        }
    }
    

    Now this request creates the data directory before writing hello.txt, and the command works just fine:

    {
        "id": "ash_run_86408aef",
        "ok": true,
        "duration": 542,
        "stdout": "hello world!",
        "stderr": ""
    }
    Open source →
  6. v0.12.1-0.20250628064428-b7f79e21541c 28 Jun 2025 pre-release

    Nothing published for this version

  7. v0.12.0 28 Jun 2025
    Release notes

    Codapi is a lightweight sandbox server for interactive documentation and learning. This release lets you run a source file in a sandbox directly from your terminal:

    Usage: ./codapi-cli exec <sandbox> <command> <filename>
    

    For example:

    ./codapi-cli exec ash run hello.sh
    Hello, world!
    

    This is especially helpful when debugging new sandboxes.

    Open source →
  8. v0.11.1-0.20250420110920-21c9a6a03e5a 20 Apr 2025 pre-release

    Nothing published for this version

  9. v0.11.0 20 Apr 2025
    Release notes

    Codapi is a lightweight sandbox server for interactive documentation and learning. This release introduces a command line interface — codapi-cli. It makes managing sandboxes much easier:

    Usage: ./codapi-cli <command> [args...]
    
    commands:
      sandbox add     Add a new sandbox
      sandbox rm      Remove an existing sandbox
      sandbox ls      List all sandboxes
    

    See the sandboxes repository for a complete list of supported sandboxes.

    Open source →
  10. v0.10.1-0.20250419192256-0ffb64d7313f 19 Apr 2025 pre-release

    Nothing published for this version

  11. v0.10.0 13 Apr 2025
    Release notes

    New sandbox layout

    Previously, Codapi had its stuff organized into three folders: "images", "boxes", and "commands":

    ├── configs
    │   ├── config.json
    │   ├── boxes
    │   │   ├── bash.json
    │   │   └── python.json
    │   └── commands
    │       ├── bash.json
    │       └── python.json
    └── images
        ├── bash
        │   └── Dockerfile
        └── python
            └── Dockerfile
    

    Now each sandbox gets its own subfolder inside the "sandboxes" folder:

    ├── codapi.json
    └── sandboxes
        ├── bash
        │   ├── Dockerfile
        │   ├── box.json
        │   └── commands.json
        └── python
            ├── Dockerfile
            ├── box.json
            └── commands.json
    

    All sandbox-related files live in a single folder, making it easier to create, edit, and distribute sandboxes.

    Also, the main configuration file (previously configs/config.json) is now called codapi.json and resides next to the codapi binary.

    The old layout is still supported for backward compatibility, but will be removed in future releases.

    Open source →
  12. v0.0.0-20241110121427-ccea62a7622d 10 Nov 2024 pre-release

    Nothing published for this version

  13. v0.0.0-20241008044106-c77d483e9906 08 Oct 2024 pre-release

    Nothing published for this version

  14. v0.0.0-20240612220431-4411aef6fc68 12 Jun 2024 pre-release

    Nothing published for this version

  15. v0.0.0-20240328041201-f250034cd4fb 28 Mar 2024 pre-release

    Nothing published for this version

  16. v0.0.0-20240310191207-e6c7b053f916 10 Mar 2024 pre-release

    Nothing published for this version

  17. v0.0.0-20240303151326-4468c6193c55 03 Mar 2024 pre-release

    Nothing published for this version

  18. v0.0.0-20240220071021-d6945f00480e 20 Feb 2024 pre-release

    Nothing published for this version

  19. v0.0.0-20240119160151-b312100bbcbc 19 Jan 2024 pre-release

    Nothing published for this version

  20. v0.0.0-20231221114631-3fd59120f57c 21 Dec 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive