Commit Graph
16 Commits
Author SHA1 Message Date
Ilya Kreymer 0f58a881a2 licenses: move copyright to COPYRIGHT, add AGPL LICENSE, ensure banner added to all webpack built files
update to latest wabac.js
2020-11-02 21:17:01 -08:00
Ilya Kreymer e12407983c electron app:
- add file association for .wacz
- support opening wacz, warc, har files via double-click from os (fixes #24)
- command line: support opening files via command line, as well as specifying --url and --ts
- support cmdline args via 'yarn run start-electron <file> --url <url> --ts <ts>'
2020-10-25 09:04:40 -07:00
Ilya Kreymer 557b528ca6 build: disable automatic chunking for now 2020-08-31 19:40:04 -07:00
Ilya Kreymer a330c2c5c2 update to latest wabac.js -- fix reading small wacz files
embed fixes: fix 'replayonly' mode to hide locationbar
embed loading screen: simplify, don't show cancel button, filename
bump to electron 10.0.0
bump to beta.1
2020-08-24 23:09:18 -07:00
Ilya Kreymer b9a4089c6b license / docs pass:
- add new docs for loading, exploring, sharing, embedding, and offline usage
- add license file / license banner

electron app:
- for now, don't bundle docs, open in native browser

embeds:
- support 'embed' option, 'replayonly' or 'full' (default if no url)

ui:
- display package.json version in info menu

package.json:
- update scripts to match README
- move electron entrypoint into extraMetadata
- add scripts for packaging as module

README: minor edits
2020-06-11 00:42:10 -07:00
Ilya Kreymer 335c2bfd35 electron app: send filename in query filename= param, instead of as part of url path, more robust and should work on windows 2020-06-09 18:58:17 -07:00
Ilya Kreymer 03023523b7 big ui update, page search + full text
- split file chooser from coll index, insert as header, make file chooser collapsible
- revamp collection index to be responsive
- add separate sorter component, used for collection index and pages
- combine 'curated lists' + pages, with page search + narrative
- ensure page + narrative lists are collapsible
- page search: support title, url and full text search if available, using flexsearch
- page search: keyword highlighting, load all pages, showing in increments of 100
- page and resource search: delay search to 1/4 sec of inactivity to avoid too many queries
- electron app: ensure noCache is set to true for local files
- embedding: remove separate embed.js, just use ui.js for embed as well
- embedding: support embedding iframe in a local origin with just sw.js and ui.js: sw.js serves index.html,
<replay-web-page> embed injects ui.js into iframe
- sw.js, new service worker entry point
- sw and ww inited only from <replay-app-main>, ui.js loaded from <replay-web-page> embed component
2020-05-26 14:43:28 -07:00
Ilya Kreymer e3d5abdbeb refactor: split frontend into file per component! 2020-05-22 23:43:56 -07:00
Ilya Kreymer 220d14aea3 jekyll: move jekyll back to root, but simpler setup, exclude via _config.yml
app: bundle jekyll docs into app, add 'yarn run docs' to build
ui: add back/forward arrows for app only, adjust responsiveness for app, add IS_APP flag injected via preload
ui: add animated logo, friendly message on empty replay frame
app: improve serve logic:
- serve static files from static root
- serve replay from http localhost instead to avoid proxying https for remote requests
- serve local lookup from http prefix also
- catch any fallthrough from replay as 404
- add timestamp to response channels to ensure uniqness
2020-05-21 18:49:26 -07:00
Ilya Kreymer da1e5c03df reorg dir structure:
- keep shared and electron build at root
- move static files for replayweb.page and Jekyll config to docs/
- move Jekyll markdown to docs/docs/
2020-05-20 17:28:03 -07:00
Ilya Kreymer 1a2f2c00a2 add electron build!
- use webpack to build electron-main and electron-preload
- intercept 'https' protocol to run on 'https://replayweb.page' in app
- serve local files from 'https://files.replayweb.page'
- support flash in with service worker replay: catch any fallthrough urls and load via intercept with render process callback
- add icons for electron build
2020-05-19 22:49:08 -07:00
Ilya Kreymer 077c8cae19 bundle into single js file!
- remove external css - ensure bulma styles don't rely on html, body
- move logo.svg to be loaded inline
- rename scss -> assets
- remove wombat/wombatWorkers, bundled via raw-loader and sw.js
2020-05-16 09:34:49 -07:00
Ilya Kreymer 780d5b74a9 add embed.js for embedding <replay-web-page>!
css tweaks for replay iframe, initial support embed param to hide nav bar
various css tweaks for scrolling!
2020-05-11 19:10:09 -07:00
Ilya Kreymer 1a4793eefa css optimization: bundle bulma, main.scss as inline css injected directly into lit-element css
import a subset of bulma to decrease size in main.scss
import only base bulma for outer html page in base.scss
2020-05-03 14:57:51 -07:00
Ilya Kreymer 6f04588dfd add CNAME, add examples from wabac.js, build directly from wabac.js 2020-05-02 13:27:17 -07:00
Ilya Kreymer e023726fd2 split off from wabac.js:
- add pageembeds.js for now
- new webpack build, use /sw.js in prod, /dist/sw.js in dev to work with webpack-dev-server single directory
- add wombat dependency and webpack build
2020-05-02 11:27:48 -07:00