{"id":16420337,"url":"https://github.com/jheld/diycrate","last_synced_at":"2025-03-21T03:33:08.578Z","repository":{"id":5735549,"uuid":"51886040","full_name":"jheld/diycrate","owner":"jheld","description":"box.com for linux","archived":false,"fork":false,"pushed_at":"2024-05-09T15:13:05.000Z","size":1705,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-12T07:27:46.998Z","etag":null,"topics":["box","box-api","cloud-storage","linux","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jheld.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}},"created_at":"2016-02-17T02:00:54.000Z","updated_at":"2024-05-09T15:11:22.000Z","dependencies_parsed_at":"2023-12-14T04:42:13.621Z","dependency_job_id":null,"html_url":"https://github.com/jheld/diycrate","commit_stats":{"total_commits":184,"total_committers":2,"mean_commits":92.0,"dds":0.005434782608695676,"last_synced_commit":"172e3cc4a4e8ec757f1b78896c190a4e1fc40324"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jheld%2Fdiycrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jheld%2Fdiycrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jheld%2Fdiycrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jheld%2Fdiycrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jheld","download_url":"https://codeload.github.com/jheld/diycrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811374,"owners_count":16884305,"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":["box","box-api","cloud-storage","linux","python","python3"],"created_at":"2024-10-11T07:27:42.463Z","updated_at":"2024-10-28T09:16:38.059Z","avatar_url":"https://github.com/jheld.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# diycrate\nbox.com for linux\n\n[![Build](https://github.com/jheld/diycrate/workflows/Build/badge.svg)](https://github.com/jheld/diycrate/actions?query=workflow%3ABuild+branch%3Amaster)\n\n## Installation on Ubuntu\n```bash\nsudo apt install libffi-dev libssl-dev python3-pip\n# you may want to create a virtual environment\nsudo python3 setup.py install\n```\n## Configuration\n\nInstallation will create an empty ~/.config/diycrate/box.ini\nThis file will be overwritten and will contain run time specific information!\n\n## Self-signed Certificate\n\nCurrently, in order for your machine to operate as a listener/hook against the oauth2 process with Box, you will\nhave to run a webserver -- which we provide for you in this application, to handle all of that, automatically.\n\nHowever, in order for your browser (and your sanity), you will want to create a certificate. When running on your\nlocal  machine/localhost, you will need to create a self-signed certificate.\n\nLet's Encrypt has a nice write-up on how to do that: https://letsencrypt.org/docs/certificates-for-localhost/#making-and-trusting-your-own-certificates\n\n\n## Install Redis\n\nThis application requires the use of redis oauth2 credential \"storage\" as well as meta data for the caching \u0026 states\nof files against box.\n\n```bash\nsudo apt install redis-server\n```\n\n## Run the app\n\nCurrently there is no default out-of-the-box working configuration file. This is partly due to currently (should the user not setup their own) using `diycrate.xyz` (I host it) for a part of the oauth2 dance. It isn't \"hard\" to setup your own, nor is it hard to use the \"always running, you can plug into\" mine, but it's not exactly documented.\n\n```bash\ndiycrate_app --cacert_pem_path /path/to/cert.pem --privkey_pem_path /path/to/privkey.pem\n```\n\nRun `diycrate_app --help` for more CLI information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjheld%2Fdiycrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjheld%2Fdiycrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjheld%2Fdiycrate/lists"}