{"id":42260253,"url":"https://github.com/me-box/app-ancile","last_synced_at":"2026-01-27T06:04:20.252Z","repository":{"id":44050149,"uuid":"183238343","full_name":"me-box/app-ancile","owner":"me-box","description":"A Databox driver to support Cornell Tech's Ancile Project","archived":false,"fork":false,"pushed_at":"2023-01-24T00:44:03.000Z","size":411,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-05T14:54:06.400Z","etag":null,"topics":["ancile","databox","distributed","policies","privacy"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/me-box.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}},"created_at":"2019-04-24T13:48:18.000Z","updated_at":"2020-03-11T16:41:18.000Z","dependencies_parsed_at":"2023-01-26T22:30:56.231Z","dependency_job_id":null,"html_url":"https://github.com/me-box/app-ancile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/me-box/app-ancile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/me-box%2Fapp-ancile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/me-box%2Fapp-ancile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/me-box%2Fapp-ancile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/me-box%2Fapp-ancile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/me-box","download_url":"https://codeload.github.com/me-box/app-ancile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/me-box%2Fapp-ancile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28805360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T05:43:52.625Z","status":"ssl_error","status_checked_at":"2026-01-27T05:43:48.957Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ancile","databox","distributed","policies","privacy"],"created_at":"2026-01-27T06:03:45.897Z","updated_at":"2026-01-27T06:04:20.243Z","avatar_url":"https://github.com/me-box.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# app-ancile\n\nA Databox app to support Cornell Tech's [Ancile Project](https://github.com/ancile-project/ancile).\n\n\n## Databox Instructions\n\nFirst make sure that [Docker](https://www.docker.com) is installed to your system.\n\nCreate a project folder (e.g. `databox-ancile`) that will host everything.\n\nGit clone [Databox](https://github.com/me-box/databox) into `databox-ancile\\databox_dev` using `$ git clone git@github.com:me-box/databox.git databox_dev`.\n\nGit clone [driver-reddit-simulator](https://github.com/minoskt/driver-reddit-simulator) into `databox-ancile\\driver-reddit-simulator` using `$ git clone git@github.com:minoskt/driver-reddit-simulator.git`.\n\nGit clone [app-ancile](https://github.com/minoskt/app-ancile) into `databox-ancile\\app-ancile` using `$ git clone git@github.com:minoskt/app-ancile.git`.\n\nStart Databox using `$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network host -t databoxsystems/databox:0.5.2 /databox start -sslHostName $(hostname)`.\n\nWait until databox is loaded and login to http://127.0.0.1 (non https version). Download and install the certificate. Click at \"DATABOX DASHBOARD\".\n\nMake sure that Databox runs correctly and you can login without any issues (password is random and you can copy it from the terminal).\n\nYou can now stop Databox using `$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -t databoxsystems/databox:0.5.2 /databox stop`.\n\nCopy both `driver-reddit-simulator` and `app-ancile` folders into `databox_dev\\build`.\n\nUnder `databox_dev`, run `$ ./databox-install-component driver-reddit-simulator databoxsystems 0.5.2` and `$ ./databox-install-component app-ancile databoxsystems 0.5.2`.\n\nStart Databox again and go to: `My App -\u003e App Store` and upload the two manifests (`databox-manifest.json`) from `driver-reddit-simulator` and `app-ancile` folders. The new driver and app will now appear in the App Store.\n\nGo to the App Store and install `driver-reddit-simulator`. After succesfully installed, click at the `driver-reddit-simulator` to see the configuration page (`Reddit Simulator Driver Configuration`), and click at `Save Configuration` to load data from `_davros` account.\n\nGo to the App Store and install `app-ancile`.\n\nTest that reddit data can be retrieved when visiting https://127.0.0.1/app-ancile/ui/tsblob/latest?data_source_id=redditSimulatorData.\n\n\n\n## Ancile Instructions\n\nInstall and configure [Ancile](https://github.com/ancile-project/ancile) into the local machine.\n\nPlace all `ancile_functions\\*.py` files into Ancile, under `ancile\\lib`.\n\nFinally, try to run the following example Ancile policy:\n```\n{\n    users: ['\u003ca registered ancile user\u003e'],\n    purpose: 'research',\n    program: `\n        dp_1 = databox.get_latest_reddit_data(\u003csession key\u003e)\n        return_to_app(data=dp_1)\n    `\n}\n```\n\n\n## Install a custom driver / app in Databox\n\n1. Copy the driver-or-app folder inside `databox\\build`\n2. `./databox-install-component driver-or-app-name databoxsystems 0.5.2`\n3. Start Databox (see below)\n4. Login to Databox (`127.0.0.1`)\n5. Goto My App \u003e App Store and upload the manifest (from `databox\\build\\driver-or-app-name`)\n6. Goto App Store and install the driver.\n\nDebug:\n`docker service logs driver-or-app-name`\n\nStart Databox:\n`docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network host -t databoxsystems/databox:0.5.2 /databox start -sslHostName $(hostname)`\n\nStop Databox:\n`docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -t databoxsystems/databox:0.5.2 /databox stop`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fme-box%2Fapp-ancile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fme-box%2Fapp-ancile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fme-box%2Fapp-ancile/lists"}