{"id":17168771,"url":"https://github.com/sanix-darker/split","last_synced_at":"2026-01-19T05:33:07.567Z","repository":{"id":42520350,"uuid":"217653039","full_name":"Sanix-Darker/split","owner":"Sanix-Darker","description":"A FROM SCRATCH module able to decompose and recompose a file based on a map-JSON-schema build using md5 and Base64.","archived":false,"fork":false,"pushed_at":"2023-03-07T06:53:27.000Z","size":676,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T10:30:48.398Z","etag":null,"topics":["block","chunk","chunking","chunks","map","split","splitting"],"latest_commit_sha":null,"homepage":"","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/Sanix-Darker.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":"2019-10-26T03:56:20.000Z","updated_at":"2022-02-08T10:35:24.000Z","dependencies_parsed_at":"2024-12-19T12:35:19.106Z","dependency_job_id":null,"html_url":"https://github.com/Sanix-Darker/split","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/Sanix-Darker%2Fsplit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fsplit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fsplit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fsplit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sanix-Darker","download_url":"https://codeload.github.com/Sanix-Darker/split/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247434465,"owners_count":20938521,"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":["block","chunk","chunking","chunks","map","split","splitting"],"created_at":"2024-10-14T23:12:48.640Z","updated_at":"2026-01-19T05:33:07.542Z","avatar_url":"https://github.com/Sanix-Darker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./logo.png\" width=\"90\"\u003e\n\n# SPLIT\n\n## Introduction\n\nSPLIT is a FROM SCRATCH module able to decompose and recompose a file based on a map-schema build using md5 and Base64.\n\n## Available clients\n\n- (Stable) [Split-Python](/python)\n- (Stable) [Split-Javascript](/javascript)\n\nAll examples of implementations are done in each versions, for more details contact the Author.\n\n\n#### Example Usage\n\n```python\n# We import the Class/module\nfrom Split import Split\n\n# We instantiate and pass the path of the file we ant to split, the debug mode is just to see logs\ns = Split.Split(\"../data_test/rrr.mp4\", DEBUG_MODE=True)\n\n# We decompose the file in multiple chunks\ns.deCompose()\n\n# We can print the map of the file\nprint(s.getMap())\n\n# Let's ReMake in another file, the delete_residual parameter will delete all chunks\ns.reMake(\"../data_test/rrr2.mp4\", s.getMap(), \"../chunks/\", delete_residuals=True)\n```\n\n#### OUTPUT EXAMPLE\n\n```shell\n[+] Decompose started...\n{'size': 93281, 'chunck': 4}\n[+] SIZE: 373124\n[+] RE_SIZE: {'size': 4, 'chunck': 93281}\n[+] CONTENT_PER_CHUNKCS: 93281\n[+] COUNT_OF_CHUNCK: 4\n\u003e chunck: 45a9d1e4da1b86b7d052e1d8bec54052\n\u003e chunck: 9a6ad3724b5efb40f30e4130480535ea\n\u003e chunck: 5fd2104117efd1300b7cbb9508c5e5ee\n\u003e chunck: ab61142db3239a5dfbe402ced841cace\n[+] Decompose done.\n-------\n{0: '45a9d1e4da1b86b7d052e1d8bec54052', 1: '9a6ad3724b5efb40f30e4130480535ea', 2: '5fd2104117efd1300b7cbb9508c5e5ee', 3: 'ab61142db3239a5dfbe402ced841cace'}\n[+] Remake started...\n[+] Remake done.\n```\n\n#### DEMO GIFT\n\n\u003cimg src=\"./images/split.gif\" /\u003e\n\n## Author\n\n- Sanix-darker","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanix-darker%2Fsplit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanix-darker%2Fsplit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanix-darker%2Fsplit/lists"}