Need help with snapshot?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

GoogleChromeLabs
134 Stars 33 Forks Apache License 2.0 65 Commits 11 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 17,583
HTML
Shell
Svelte
Chrome
56 commits

Please note: This app is being developed. There may be bugs, and everything is subject to change.

Snapshot

This is a sample camera app to demonstrate camera functionality in the context of a Progressive Web App.

You can see a reasonably stable version at https://snapshot-stable.firebaseapp.com/

b8f80bc5-42e3-4d48-bb7f-8441b93ba474

Building the code

First install all of the dependencies

npm install

You can then build the main JS bundle using rollup

rollup -c

You can also have this as a watch task via

rollup-watch
rollup -cw

The project expects to be served with the contents of the

public
folder as the root. For example, using the
http-server
node package:
npm install -g http-server
http-server -p 8080 public/

The site would then be available at http://localhost:8080/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.