{"id":27425722,"url":"https://github.com/0xblcklptn/box","last_synced_at":"2026-05-16T13:03:37.172Z","repository":{"id":170595667,"uuid":"646766420","full_name":"0xBLCKLPTN/Box","owner":"0xBLCKLPTN","description":"A module for Kingdom-System whose task is to mimic the behavior of Google Drive","archived":false,"fork":false,"pushed_at":"2023-05-30T17:31:14.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T12:47:26.025Z","etag":null,"topics":["cloud","elixir","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xBLCKLPTN.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":"2023-05-29T09:43:06.000Z","updated_at":"2023-05-31T07:07:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d689c561-b135-4d2e-9e02-646b6a9f6189","html_url":"https://github.com/0xBLCKLPTN/Box","commit_stats":null,"previous_names":["0xblcklptn/box"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xBLCKLPTN/Box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBLCKLPTN%2FBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBLCKLPTN%2FBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBLCKLPTN%2FBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBLCKLPTN%2FBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xBLCKLPTN","download_url":"https://codeload.github.com/0xBLCKLPTN/Box/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBLCKLPTN%2FBox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266342809,"owners_count":23914262,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cloud","elixir","postgresql"],"created_at":"2025-04-14T12:28:30.730Z","updated_at":"2026-05-16T13:03:32.152Z","avatar_url":"https://github.com/0xBLCKLPTN.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Box\nCreate database:\n\n```sh\n$ mix phx.gen.json Files File box_files \\\nname:string:unique type:string\n\n...\n\n$ mix.migrate\n```\n\nTo start your Phoenix server:\n\n  * Install dependencies with `mix deps.get`\n  * Create and migrate your database with `mix ecto.setup`\n  * Start Phoenix endpoint with `mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\nReady to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).\n\n## Learn more\n\n  * Official website: https://www.phoenixframework.org/\n  * Guides: https://hexdocs.pm/phoenix/overview.html\n  * Docs: https://hexdocs.pm/phoenix\n  * Forum: https://elixirforum.com/c/phoenix-forum\n  * Source: https://github.com/phoenixframework/phoenix\n\n## Usage example\n\n```sh\n# Add file\n% curl -H \"Content-Type: application/json\"\\\n-X POST -d '{\"file\": {\"name\": \"simple_directory\", \"type\": \"dir\"}}'\\\n http://localhost:4000/api/box_files\n\n# Response:\n{\"data\":{\"id\":\"f31e2c4d-174e-463b-b8b4-d943d1873529\",\"name\":\"simple_directory\",\"type\":\"dir\"}}\n\n---- \n\n# Edit file\ncurl -H \"Content-Type: application/json\" -X PUT -d '{\"file\": {\"name\": \"simple_directory_two\", \"type\": \"dir\"}}'\\\n http://localhost:4000/api/box_files/f31e2c4d-174e-463b-b8b4-d943d1873529\n\n# Response\n{\"data\":{\"id\":\"f31e2c4d-174e-463b-b8b4-d943d1873529\",\"name\":\"simple_directory_two\",\"type\":\"dir\"}}\n\n----\n\n# Remove file\ncurl -H \"Content-Type: application/json\" -X DELETE http://localhost:4000/api/box_files/f31e2c4d-174e-463b-b8b4-d943d1873529\n\n# Response\nNone\n\n---\n\n# Get file\ncurl -H \"Content-Type: application/json\" http://localhost:4000/api/box_files/f31e2c4d-174e-463b-b8b4-d943d1873529\n\n# Response\n{\"data\":{\"id\":\"f31e2c4d-174e-463b-b8b4-d943d1873529\",\"name\":\"simple_directory\",\"type\":\"dir\"}}\n\n---\n\n# Get Files\ncurl -H \"Content-Type: application/json\" http://localhost:4000/api/box_files\n\n# Response\n{\"data\":[{\"id\":\"f31e2c4d-174e-463b-b8b4-d943d1873529\",\"name\":\"simple_directory\",\"type\":\"dir\"}]}%\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xblcklptn%2Fbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xblcklptn%2Fbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xblcklptn%2Fbox/lists"}