As you already know zip, 7z, tar this project provides a new archive format including tools for users and a library for developers.
The reason why I'm developing it is that I'm not satisfied with the exsting archivers. They all are very slow and not using the full power of today's CPUs and SSDs. zar does. It is very fast. My measurements have shown up 22 times faster than 7z with LZMA2. But this depends much on the OS, data and hardware.
And it comes with much more features which other archives don't provide and you may like:
- Versioning: With zar you can add/remove/replace (same) files to/in existing zar archives. This gives you the possibility to have several versions of a file in the archive. Example: You have an Excel file which you change from time to time. You can have all versions in that one zar file. Every action done on the zar archive is called a commit, as you may already know from git.
- Encryption: You can encrypt each commit individually. This gives you the possibility to have data with different protection levels in one file. For example you have a team of developers and want to provide specific project information/data to specific people. You can distribute this single file to all team members and everyone sees only what he is allowed to see.
- Streaming: zar supports streaming. For example you can stream only parts of a zar file to other machines. So the clients don't need to download and temporary extract the whole zar file.
- Mounting: You can mount a zar file, like an iso file, and access the contents with a file explorer.
- grep: zar has an integrated grep feature. So you can search for contents in a zar archive without extracting it.
- AI support: zar also comes with an MCP which gives the AI direct access to zar files.
I admire your ambition to replace a whole ecosystem. Next you'll integrate a cooperative kernel and make an app store for it, so you can run apps cross platform on top of the file format? Just kidding of course.. you seem crazy enough to do it, in a good way.
Come to think of it, if you include a link to a UI, that opens as a webpage, downloaded, and serve the contents of the zar to it, it may actually be a nice hybrid format. Haven't thought it through though.
You're absolutely right, I'm crazy ;-) I want to build a possible replacement for zip and 7z. tar not, because it is good for other usage scenarios.
Your thought is maybe already implemented. See examples in zarlib. There you've a streaming server and client example. The server is able to handle a folder with zar files and the client can select arbitrary files in the available zar files to stream them to the destination machine.
As you already know zip, 7z, tar this project provides a new archive format including tools for users and a library for developers.
The reason why I'm developing it is that I'm not satisfied with the exsting archivers. They all are very slow and not using the full power of today's CPUs and SSDs. zar does. It is very fast. My measurements have shown up 22 times faster than 7z with LZMA2. But this depends much on the OS, data and hardware.
And it comes with much more features which other archives don't provide and you may like:
- Versioning: With zar you can add/remove/replace (same) files to/in existing zar archives. This gives you the possibility to have several versions of a file in the archive. Example: You have an Excel file which you change from time to time. You can have all versions in that one zar file. Every action done on the zar archive is called a commit, as you may already know from git.
- Encryption: You can encrypt each commit individually. This gives you the possibility to have data with different protection levels in one file. For example you have a team of developers and want to provide specific project information/data to specific people. You can distribute this single file to all team members and everyone sees only what he is allowed to see.
- Streaming: zar supports streaming. For example you can stream only parts of a zar file to other machines. So the clients don't need to download and temporary extract the whole zar file.
- Mounting: You can mount a zar file, like an iso file, and access the contents with a file explorer.
- grep: zar has an integrated grep feature. So you can search for contents in a zar archive without extracting it.
- AI support: zar also comes with an MCP which gives the AI direct access to zar files.