{"id":20226303,"url":"https://github.com/mathix420/swap","last_synced_at":"2026-05-29T13:31:12.327Z","repository":{"id":52552175,"uuid":"254321776","full_name":"mathix420/swap","owner":"mathix420","description":"Simple components sharing tool","archived":false,"fork":false,"pushed_at":"2023-09-09T10:44:38.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T05:51:19.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/mathix420.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-09T09:01:59.000Z","updated_at":"2023-02-24T13:21:26.000Z","dependencies_parsed_at":"2025-01-13T23:31:41.546Z","dependency_job_id":"0596840e-3135-4eb9-b69e-f16843c8c96a","html_url":"https://github.com/mathix420/swap","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":"0.024390243902439046","last_synced_commit":"8548ee0d2748a34ffb9b179ddedfb598706fec8b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathix420","download_url":"https://codeload.github.com/mathix420/swap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670132,"owners_count":20000326,"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-14T07:17:18.866Z","updated_at":"2026-05-29T13:31:12.316Z","avatar_url":"https://github.com/mathix420.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg height=\"120px\" width=\"120px\" src=\"docs/logo.png\"\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eSWAP\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eSimple components sharing tool\u003c/h3\u003e\n\n\n# Installation\n\n```bash\npip install swp\n```\n\n## Optionnal dependencies\n\n```bash\n# Linux\napt install tree\n\n# MacOS\nbrew install tree\n```\n\n# Documentation\n\n## Swapfile\n\n`swap.yaml` example:\n```yaml\ngit@github.com:mathix420/pylone.git:\n    # name: local_path:remote_path@optionnal_branch_or_commitID\n    pylone_utils: utils:pylone/utils\n\ngit@github.com:vuejs/ui.git:\n    vue_ui: components/vue_ui:src/components\n```\n\n\n## Commands\n\n- `swp init` Will guide you for creating a new config file.\n- `swp tree` Will show you the path structure of remotes.\n- `swp sync` Will by directionnal update of tracked modules/files.\n- `swp add` Will add the specified path to the swapfile.\n- `swp rm` Will remove the specified path from the swapfile.\n- `swp get` Will pull a module/file from a specified remote URL and add it to the swapfile.\n\n**More detailed documentation is available [here](/docs/guide.md)**\n\n\u003e As `swp sync` will push local updates to remote, I recommand you to fork repositories like `vuejs/ui` to have write rights on thems.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathix420%2Fswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathix420%2Fswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathix420%2Fswap/lists"}