Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-12-30T17:13:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T21:33:43.193Z (about 2 months ago)
- Topics: history, versioned, web-archive, web-cache
- Language: JavaScript
- Homepage:
- Size: 428 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wabac
[![version](https://img.shields.io/npm/v/wabac?style=flat-square)][npm]
[![license](https://img.shields.io/npm/l/wabac?style=flat-square)][npm]
[![build](https://img.shields.io/circleci/project/github/paulmelnikow/wabac/main?style=flat-square)][build]
[![code style](https://img.shields.io/badge/code_style-prettier-ff69b4?style=flat-square)][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.