Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GoogleChromeLabs/snapshot
https://github.com/GoogleChromeLabs/snapshot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/GoogleChromeLabs/snapshot
- Owner: GoogleChromeLabs
- License: apache-2.0
- Archived: true
- Created: 2017-06-20T10:02:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T13:33:23.000Z (about 7 years ago)
- Last Synced: 2024-04-09T21:56:38.476Z (7 months ago)
- Language: TypeScript
- Homepage: https://snapshot-stable.firebaseapp.com/
- Size: 386 KB
- Stars: 132
- Watchers: 27
- Forks: 33
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
**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](https://user-images.githubusercontent.com/393358/29221455-bba48182-7eb6-11e7-95af-625e263b7836.png)
## 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/