https://github.com/paulmelnikow/wabac
A versioned cache backed by cloud storage
https://github.com/paulmelnikow/wabac
history versioned web-archive web-cache
Last synced: 4 months ago
JSON representation
A versioned cache backed by cloud storage
- Host: GitHub
- URL: https://github.com/paulmelnikow/wabac
- Owner: paulmelnikow
- License: mit
- Created: 2018-06-03T18:19:08.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2022-12-30T17:13:58.000Z (over 3 years ago)
- Last Synced: 2025-08-09T18:52:15.103Z (10 months ago)
- Topics: history, versioned, web-archive, web-cache
- Language: JavaScript
- Homepage:
- Size: 428 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wabac
[][npm]
[][npm]
[][build]
[][prettier]
[npm]: https://npmjs.com/wabac
[build]: https://circleci.com/gh/paulmelnikow/wabac/tree/main
[prettier]: https://prettier.io/
[lerna]: https://lernajs.io/
A versioned cache backed by cloud storage.
## Install
```
$ npm install --save wabac
```
## Usage
Follow the [Google Cloud Storage quickstart][quickstart]. In particular, you
must [set up authentication with a service account][auth] and set the
`GOOGLE_APPLICATION_CREDENTIALS` access variable.
[quickstart]: https://github.com/googleapis/nodejs-storage#quickstart
[auth]: https://cloud.google.com/docs/authentication/getting-started
## Development
Designate a name for your test bucket. **Be careful! The tests will destroy
this bucket.**
Create a `.env`:
```sh
GOOGLE_APPLICATION_CREDENTIALS=...
TEST_LOCATION=us-east1
TEST_PROJECT_ID=your-project-here
TEST_BUCKET_NAME=careful-because-what-you-specify-will-get-wiped-out-by-the-tests
```
## License
This project is licensed under the MIT license.