{"id":21817671,"url":"https://github.com/vschwaberow/adflib","last_synced_at":"2025-04-14T01:32:49.352Z","repository":{"id":58693612,"uuid":"533179278","full_name":"vschwaberow/adflib","owner":"vschwaberow","description":"a Rust library to handle ADF files for the Amiga","archived":false,"fork":false,"pushed_at":"2025-03-19T05:05:40.000Z","size":123,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T08:54:19.225Z","etag":null,"topics":["adf","amiga","disk","disk-image","first-timers","retro"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vschwaberow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2022-09-06T05:48:56.000Z","updated_at":"2025-02-26T04:26:56.000Z","dependencies_parsed_at":"2024-02-20T18:45:38.737Z","dependency_job_id":"2aad8810-f4f6-4641-b00a-f8ccf5f4c590","html_url":"https://github.com/vschwaberow/adflib","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"027dbfff35b23ab720996c25605d43f60708adc3"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vschwaberow%2Fadflib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vschwaberow%2Fadflib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vschwaberow%2Fadflib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vschwaberow%2Fadflib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vschwaberow","download_url":"https://codeload.github.com/vschwaberow/adflib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248808021,"owners_count":21164773,"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":["adf","amiga","disk","disk-image","first-timers","retro"],"created_at":"2024-11-27T15:47:39.809Z","updated_at":"2025-04-14T01:32:49.340Z","avatar_url":"https://github.com/vschwaberow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adflib\n\nA Rust library and command-line tool for managing ADF (Amiga Disk File) files.\n\n## Motivation\n\nWhile working on cross-development for the Amiga, I needed a way to manage ADF files. Existing libraries weren't written in Rust, which was my preferred language for tool development. Thus, I decided to create a Rust-based library for managing ADF files. The library is still in its early stages and is not yet feature-complete or extensively tested.\n\n## Features\n\n- Read and write ADF files\n- Extract disk information (filesystem type, disk name, creation date, etc.)\n- List files and directories\n- Extract files from ADF images\n- Add files to ADF images (planned)\n- Create new ADF images (planned)\n\n## Library Usage\n\nAdd this to your `Cargo.toml`:\n```toml\n[dependencies]\nadflib = \"\u003cACTUAL VERSION\u003e\"\n```\n\nBasic usage example:\n\n```rust\n\nuse adflib::ADF;\nuse std::io::Result;\n\nfn main() -\u003e Result\u003c()\u003e {\n    let adf = ADF::from_file(\"my_disk.adf\")?;\n    println!(\"ADF file loaded successfully\");\n    Ok(())\n}\n```\n\nGetting disk information:\n\n```rust\nuse adflib::ADF;\nuse std::io::Result;\n\nfn main() -\u003e Result\u003c()\u003e {\n    let adf = ADF::from_file(\"my_disk.adf\")?;\n    let disk_info = adf.information?;\n    println!(\"ADF file loaded successfully\");\n    Ok(())\n}\n```\n\nExtract files from ADF image:\n\n```rust\nuse adflib::ADF;\nuse std::io::Result;\n\nfn main() -\u003e Result\u003c()\u003e {\n    let adf = ADF::from_file(\"my_disk.adf\")?;\n    let extracted_file = adf.extract_file(\"my_file.txt\")?;\n    Ok(())\n}\n```\n\nRead the documentation for more details.\n\n## Command-line Tool\n\nThe command-line tool provides a simple interface for managing ADF files. It's still in early development and doesn't yet support all features. You will find it under https://github.com/vschwaberow/adflib-cli.\n\n### Installation\n\n```bash\ncargo install adflib\n```\n\n### Usage\n\n```bash\nadflib \u003cCOMMAND\u003e [OPTIONS]\n```\n\n## Development Status\n\nThe library is based on the [ADF File Format](http://lclevy.free.fr/adflib/faq.html) specification and draws inspiration from the concepts in Laurent Clevy's [ADF library](https://github.com/lclevy/ADFlib). However, it's a pure Rust implementation without using any C code or the original ADF library. And it's\nrewritten from scratch.\n\nThe project is still in active development. Contributions, bug reports, and feature requests are welcome!\n\n## License \n\nThis project is dual-licensed under MIT and Apache 2.0. See the LICENSE-MIT and LICENSE-APACHE files for details.\n\n## Acknowledgments\n\n* [ADF library](https://github.com/lclevy/ADFlib) by Laurent Clevy et al.\n* [ADF File Format](http://lclevy.free.fr/adflib/faq.html) specification\n* [Rust](https://www.rust-lang.org/)\n\n## Contribution \n\nContributions are welcome! If you'd like to contribute, please feel free to submit a pull request or open an issue for discussion. Any help in improving the library, adding features, or enhancing documentation is greatly appreciated.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvschwaberow%2Fadflib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvschwaberow%2Fadflib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvschwaberow%2Fadflib/lists"}