{"id":20762011,"url":"https://github.com/donkeyclip/cli","last_synced_at":"2025-04-30T06:28:39.892Z","repository":{"id":39583512,"uuid":"315630779","full_name":"donkeyclip/cli","owner":"donkeyclip","description":"Command Line Tools for MotorCortex","archived":false,"fork":false,"pushed_at":"2025-04-14T04:56:36.000Z","size":1272,"stargazers_count":2,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T05:35:51.678Z","etag":null,"topics":["cli","motorcortex","motorcortex-cli"],"latest_commit_sha":null,"homepage":"","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/donkeyclip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-11-24T12:50:26.000Z","updated_at":"2023-03-24T05:40:11.000Z","dependencies_parsed_at":"2023-10-12T13:06:42.050Z","dependency_job_id":"3365895c-cdc0-43e7-b461-123d991fcf23","html_url":"https://github.com/donkeyclip/cli","commit_stats":{"total_commits":581,"total_committers":12,"mean_commits":"48.416666666666664","dds":0.5370051635111877,"last_synced_commit":"05f5c21cd7573d77ec9c7d640caa186723c7cb2b"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkeyclip","download_url":"https://codeload.github.com/donkeyclip/cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251145605,"owners_count":21543072,"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":["cli","motorcortex","motorcortex-cli"],"created_at":"2024-11-17T10:28:38.739Z","updated_at":"2025-04-30T06:28:39.857Z","avatar_url":"https://github.com/donkeyclip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Donkeyclip CLI\n\n## Purpose\n\nDonkeyclip CLI is a command line interface that creates a new donkeyclip project and installs all the required dependencies for you. It does so by creating a clear, local clone of the **[Motorcortex Clip Starter](https://github.com/donkeyclip/motorcortex-clip-starter)** boilerplate repository.\n\n## Usage\n\n- `npm create donkeyclip \u003cname\u003e` will create a new folder with the provided name. Using the `--js` option you can create a clip template that uses JavaScript as base, otherwise TypeScript will be used by default. Simply run `npm run start` in your local project's folder and have fun coding with [code.dokeyclip.com](https://code.donkeyclip.com).\n- if you want to use `npx` instead you should use `npx create-donkeyclip \u003cname\u003e`\n\n## Good to know\n\n### How to connect the local donkeyclip project with a GitHub repo?\n\nThe created donkeyclip project is not connected to any GitHub repository by default. In order to connect your project with a GitHub repo you need to follow these steps:\n\n1. Create a new GitHub repo\n2. Browse in the project's folder through the terminal and run these commands:\n\n```bash\ngit init\ngit commit -m \"first commit\"\ngit branch -M main\ngit remote add origin git@github.com:\u003cusername\u003e/\u003crepository-name\u003e.git\ngit push -u origin main\n```\n\n### How does donkeyclip know which clip I am editing and how can I update the same clip from another device?\n\nDonkeyclip CLI creates a unique id each time you run the `npm create donkeyclip` command. This ID is a unique identifier and will be used in combination with your donkeyclip userID to create an online version of your donkeyclip. This unique ID lies in the `demo/id.js` file of your project. If you want to edit the same clip from another device the ids must match otherwise a new clip will be created instead. Here lies the need for a Github repo that includes the id.js file.\n\n### Can other users contribute to my clip?\n\nYes and No. No other user can directly update your clip. As mentioned in the previous question, donkeyclip identifies a clip combining the demo/id.js file and the userID. Thus, when another user clones your repository, including the demo/id.js, and tries to publish, the combination userID-id.js differs from yours. If you want others to contribute to your donkey clip you are the one that must publish the clip through donkeyclip.\n\n## License\n\n[MIT License](https://opensource.org/licenses/MIT)\n\n[\u003cimg src=\"https://presskit.donkeyclip.com/logos/donkey%20clip%20logo.svg\" width=250\u003e\u003c/img\u003e](https://donkeyclip.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkeyclip%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fcli/lists"}