https://github.com/internetarchive/www
archive.org website prototype - using only javascript static files
https://github.com/internetarchive/www
deno javascript lit web-components
Last synced: about 1 year ago
JSON representation
archive.org website prototype - using only javascript static files
- Host: GitHub
- URL: https://github.com/internetarchive/www
- Owner: internetarchive
- License: agpl-3.0
- Created: 2024-11-04T08:46:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-20T06:55:22.000Z (about 1 year ago)
- Last Synced: 2025-03-26T15:09:39.057Z (about 1 year ago)
- Topics: deno, javascript, lit, web-components
- Language: JavaScript
- Homepage: https://archive-www.netlify.app/
- Size: 791 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archive.org website prototype - using only javascript static files
## live site / demo
https://archive-www.netlify.app
leverages native `web components` and lightweight `lit` helper
## Quickstart
```
git clone git@github.com:internetarchive/www
```
## Local/offline dev
```sh
./httpd.js -p5555
```
will run a local/minimal http file server at http://localhost:5555
## Offline with preseeded items
```sh
./get-mdapi-json.sh
```
- run `httpd.js` like above
- load the main page (and any mediatype example items you might want to work on from the list above)
- that will pull down remote `https://esm.ext.archive.org/` (and similar) files that are `import`-ed
- soft reload pages during offline dev (ie: dont `hard reload` / clear your browser cache :-)
- requires: `zsh` and `jq` (for preseeding a selection of offline mode items)
## Currently working
- basic search
- playlist API ported PHP => JS
- all A/V items working reasonably now
- other items currently look for 'original' imagery to display in theatre