{"id":19837439,"url":"https://github.com/e-e-e/a-dat","last_synced_at":"2025-02-28T18:47:13.536Z","repository":{"id":44039139,"uuid":"223937729","full_name":"e-e-e/a-dat","owner":"e-e-e","description":"WIP","archived":false,"fork":false,"pushed_at":"2023-01-05T01:39:10.000Z","size":875,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T11:14:09.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-e-e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-25T11:56:58.000Z","updated_at":"2019-11-25T11:58:09.000Z","dependencies_parsed_at":"2023-02-03T04:15:41.234Z","dependency_job_id":null,"html_url":"https://github.com/e-e-e/a-dat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fa-dat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fa-dat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fa-dat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Fa-dat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-e-e","download_url":"https://codeload.github.com/e-e-e/a-dat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241202459,"owners_count":19926612,"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-11-12T12:14:25.064Z","updated_at":"2025-02-28T18:47:13.515Z","avatar_url":"https://github.com/e-e-e.png","language":"JavaScript","readme":"# a-dat\n\n**DON'T USE! WORK IN PROGRESS**\n\nA tool to help create, manage and share smaller dat collections derived from a large centralised repository of files.\n\n## Installation\n\n```bash\n# WIP // npm install -g something\n```\n\n### CLI Usage\n\nNote: This is a WIP.\n\n##### `a-dat init`\n\nCreate simple config file.\n\n##### `a-dat create \u003ccollections\u003e`\n\nCreate a new dat from database information about the collection\n\n##### `a-dat update \u003ccollections\u003e`\n\nUpdate dat to match state of collection within the database\n\n##### `a-dat share \u003ccollections\u003e`\n\nShare dat collections\n\n### Configuration\n\nConfigure by creating a local `.a-dat.config.json` file:\n\n```json\n{\n  \"database\": {\n    \"url\": \"mongodb://url-for-db\",\n    \"name\": \"database\"\n  },\n  // root location of files\n  \"rootDir\": \"/var/www/html/assets/\",\n  // Directory for storing dat collections and related dat.\n  \"storage\": \"/user/your-user/home/dats\"\n}\n```\n\nCLI recursively checks parent folders, and lastly the users home directory for config.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Fa-dat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-e-e%2Fa-dat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Fa-dat/lists"}