{"id":13621157,"url":"https://github.com/langgenius/dify-sandbox","last_synced_at":"2025-11-03T16:19:35.237Z","repository":{"id":247772797,"uuid":"750922635","full_name":"langgenius/dify-sandbox","owner":"langgenius","description":"A lightweight, fast, and secure code execution environment that supports multiple programming languages","archived":false,"fork":false,"pushed_at":"2025-05-07T05:18:02.000Z","size":8911,"stargazers_count":818,"open_issues_count":58,"forks_count":198,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-07T06:19:58.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.dify.ai/development/backend/sandbox","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langgenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-31T15:35:18.000Z","updated_at":"2025-05-07T05:17:58.000Z","dependencies_parsed_at":"2024-07-10T14:31:34.724Z","dependency_job_id":"1b86a517-2793-4e9a-9fde-a0d2913e4342","html_url":"https://github.com/langgenius/dify-sandbox","commit_stats":null,"previous_names":["langgenius/dify-sandbox"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgenius%2Fdify-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgenius%2Fdify-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgenius%2Fdify-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgenius%2Fdify-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langgenius","download_url":"https://codeload.github.com/langgenius/dify-sandbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259370,"owners_count":22040819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:01:03.054Z","updated_at":"2025-11-03T16:19:35.205Z","avatar_url":"https://github.com/langgenius.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Dify-Sandbox\n## Introduction\nDify-Sandbox offers a simple way to run untrusted code in a secure environment. It is designed to be used in a multi-tenant environment, where multiple users can submit code to be executed. The code is executed in a sandboxed environment, which restricts the resources and system calls that the code can access.\n\n## Use\n### Requirements\nDifySandbox currently only supports Linux, as it's designed for docker containers. It requires the following dependencies:\n- libseccomp\n- pkg-config\n- gcc\n- golang 1.20.6\n\n### Steps\n1. Clone the repository using `git clone https://github.com/langgenius/dify-sandbox` and navigate to the project directory.\n2. Run ./install.sh to install the necessary dependencies.\n3. Run ./build/build_[amd64|arm64].sh to build the sandbox binary.\n4. Run ./main to start the server.\n\nIf you want to debug the server, firstly use build script to build the sandbox library binaries, then debug as you want with your IDE.\n\n\n## FAQ\n\nRefer to the [FAQ document](FAQ.md)\n\n\n## Workflow\n![workflow](workflow.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanggenius%2Fdify-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanggenius%2Fdify-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanggenius%2Fdify-sandbox/lists"}