holtwick / onepile

Playground for the future of private notes and document management
https://onepile.app
MIT License
48 stars 4 forks source link

Import of webarchives #44

Open rolandbley opened 5 years ago

rolandbley commented 5 years ago

Please explain your idea to make the app better:

I would really appreciate, if I could import .webarchive-Files in collect.

holtwick commented 5 years ago

I like this idea very much. The benefit would be to have searchable snapshots of web pages as they looked like at a certain time.

Possible alternatives:

holtwick commented 5 years ago

Implementation Note

For efficient storage considering these ZIP helpers:

https://github.com/Stuk/jszip https://www.npmjs.com/package/extract-zip

holtwick commented 5 years ago

Webarchive is a Plist formatted file. It is also used if something is copied from Safari. External resources are also referenced.

In order to render previews if no other native way of doing it exists:

holtwick commented 5 years ago

kUTTypeWebArchive

holtwick commented 5 years ago

Important data to store:

github-actions[bot] commented 4 years ago

Stale issue message