{"id":22534033,"url":"https://github.com/ppenter/ally-sandbox","last_synced_at":"2025-03-28T05:44:51.050Z","repository":{"id":257195531,"uuid":"826986061","full_name":"ppenter/ally-sandbox","owner":"ppenter","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-10T19:30:15.000Z","size":4943,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T06:42:08.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ppenter.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}},"created_at":"2024-07-10T19:30:09.000Z","updated_at":"2024-07-10T19:30:20.000Z","dependencies_parsed_at":"2024-09-15T09:04:10.414Z","dependency_job_id":null,"html_url":"https://github.com/ppenter/ally-sandbox","commit_stats":null,"previous_names":["ppenter/ally-sandbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fally-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fally-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fally-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppenter%2Fally-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppenter","download_url":"https://codeload.github.com/ppenter/ally-sandbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978233,"owners_count":20703677,"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-12-07T09:11:32.356Z","updated_at":"2025-03-28T05:44:51.032Z","avatar_url":"https://github.com/ppenter.png","language":"Go","funding_links":[],"categories":[],"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/ppenter/ally-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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppenter%2Fally-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppenter%2Fally-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppenter%2Fally-sandbox/lists"}