Batteries
Zip
Accent
Scheme
Backdrop motion
Batteries

Zip

gzip, deflate, and .zip archives packed and unpacked.

Squeezing bytes

zip.gzip and zip.deflate take text or bytes and give bytes; zip.gunzip and zip.inflate give the first bytes back. Mote's own wasm, in a worker.
gzip, deflate, and back againType, and both are worked out again. Repeated text shrinks well; random letters hardly at all; a few words grow.
0 bytes of text
zip.gzip0 bytes
…
zip.deflate0 bytes
…
gzip is deflate with a ten-byte header (1f 8b …) and a checksum after.

Archives

zip.pack makes a .zip of named files; zip.unpack gives a .zip's files as {name, data}. A name with a slash is a file in a folder.
zip.packName some texts, pack them, download the archive. What is listed under the button is read back out of it with zip.unpack.
Not packed yet.
zip.unpackDrop a .zip here, pick one, or open the one packed beside this. Press a file to see how it begins.
Drop a .zip here
Nothing opened yet.
esc
Pages
StartStart
Buttons & badgesComponents
Cards & disclosureComponents
Dialogs & drawersComponents
Menus & commandsComponents
Dates & tablesComponents
ChartsComponents
Chart galleryComponents
FieldsComponents
ChoicesComponents
DisplayComponents
NavigationComponents
Popovers & sheetsComponents
MessagesChat & AI
Prompt inputChat & AI
Reasoning & toolsChat & AI
Developer partsChat & AI
ConversationChat & AI
Code artifactsChat & AI
VoiceChat & AI
Code blocksChat & AI
MarkdownChat & AI
EditorElements
TerminalElements
FlowElements
3D boxesElements
PaintElements
SurfaceElements
MediaElements
IconsElements
PrimitivesElements
SQLBatteries
StorageBatteries
Net & resourcesBatteries
Crypto & bytesBatteries
ZipBatteries
TablesBatteries
PDFBatteries
TimeBatteries
ImagesBatteries
ScanBatteries
Video & audioBatteries
SearchBatteries
SyntaxBatteries
PatternsBatteries
NotifyBatteries
ShareBatteries
State & logicLanguage
WorkersLanguage
Events & elementsLanguage
StylingLanguage
RoutesLanguage
ShortcutsLanguage
Long listsLanguage
Failures & tryLanguage
Back endBack end
Models & writesBack end
Rules & failuresBack end
Jobs & schedulesBack end
Running itBack end
ExtensionsBack end
AIBack end
AnalyticsBack end
AboutAbout
↑↓move
↵open
676 places · ranked by BM25