Commit 6356fe4
new ipfs infra + service worker refactor + misc fixes
IPFS Changes:
* switch to using auto-js-ipfs, no longer attempt to run local node in browser / electron via js-ipfs
* IPFS sharing only enabled for local node (Brave for Extension, IPFS Desktop / kubo in Electron app)
* unify IPFS access via service worker api
* remove extension and electron specific IPFS code
* refactor service worker API, keystore + IPFS funtionality to @webrecorder/awp-sw package
* UI: Show type of IPFS sharing (Brave vs Local Node vs web3.storage, etc...)
* Don't enable IPFS without local node (eg. web3.storage) yet
* awp-sw: use CAR serialization with sharding + parallel upload of CAR streams
* awp-sw: Use custom WARC record-grouped chunking for IPFS w/o gzip to maximize content-addressed deduplication
Electron App:
* Update to latest Electron
* Backend: intercept POST to local kubo to remove CORS restrictions
* UI: ensure default collection is set when recording from top record button
* UI: fix selected collection occasionally being reset when resorted
* UI: ensure url updates are shown for in-page nav
* UI: disable maximize on record window
Downloads:
- reproducible / consistent downloads, eg. downloading same collection w/o additional changes should result in exact WACZ / WARC (including same signature, which is cached)
Dependencies Updates
- new webrecorder/awp-sw@0.1.5 for service worker
- electron 21.3.1
- auto-js-ipfs 2.0.0
- wabac.js 2.13.10
- replaywebpage 1.7.5
bump to 0.9.0
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>1 parent 8b1ff7e commit 6356fe4
File tree
22 files changed
+1834
-4871
lines changed- .github/workflows
- dist/embed
- replay
- src
- electron
- ext
- sw
- ui
22 files changed
+1834
-4871
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
20 | | - | |
21 | 23 | | |
| 24 | + | |
22 | 25 | | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | | - | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | | - | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
108 | | - | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments