An open API service indexing awesome lists of open source software.

https://github.com/cleancocoa/webarchivecodable

Exposes legacy WebKit WebArchive as a Swift Codable to e.g. access pasteboard data from Safari
https://github.com/cleancocoa/webarchivecodable

Last synced: 4 months ago
JSON representation

Exposes legacy WebKit WebArchive as a Swift Codable to e.g. access pasteboard data from Safari

Awesome Lists containing this project

README

          

# WebArchiveCodable

![Stable Diffusion prompt: "Clean, sharp, document icon, Safari browser logo compass on a stylized clipboard, by Mac OS X, gradients, Colorful, icon, 3D Render"](.github/logo.jpg)

Exposes legacy WebKit WebArchive as a Swift Codable to e.g. access pasteboard data from Safari

## Test Fixture Attribution

- `adele-for-vogue-in-2021.webarchive`



Condé Nast (through Vogue Taiwan), CC BY 3.0 , via Wikimedia Commons
- `christiantietze.de-post.webarchive`



Christian Tietze, CC BY SA 4.0

## Thanks

- Oliver Drobnik's [post at Cocoanetics](https://www.cocoanetics.com/2011/09/decoding-safaris-pasteboard-format/) that brought up the idea to not use WebKit objects, but simpler representations.
- [Diffusion Bee](https://diffusionbee.com/) for the macOS stable diffusion app to generate a wonky logo via "`Clean, sharp, document icon, Safari browser logo compass on a stylized clipboard, by Mac OS X, gradients, Colorful, icon, 3D Render`"

## License

Copyright © 2022 [Christian Tietze](https://christiantietze.de). Distributed under the MIT License. See [LICENSE file](./LICENSE) for details.