Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joehand/dat-push
push a dat to remote peers
https://github.com/joehand/dat-push
Last synced: 22 days ago
JSON representation
push a dat to remote peers
- Host: GitHub
- URL: https://github.com/joehand/dat-push
- Owner: joehand
- License: mit
- Created: 2016-08-11T23:59:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T17:20:05.000Z (over 4 years ago)
- Last Synced: 2024-05-01T19:29:21.461Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 22
- Watchers: 5
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dat - dat-push - small cli for pushing files to a `dat-archiver` or `dat-publish` server (Outdated / Other Related Dat Project Modules)
README
# dat-push
**WIP** One-time push via Dat. The other side of [dat-download](https://github.com/joehand/dat-download), kind of?
[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
[![standard][standard-image]][standard-url]## Example
```js
var datPush = require('dat-push')datPush(process.cwd(), 'hashbase.io', function (err) {
if (err) throw err
console.log('done pushing, maybe? thanks')
})
```## CLI
```
npm install -g dat-pushdat-push --dir ./existing/dat-dir hashbase.io
```## License
[MIT](LICENSE)
[npm-image]: https://img.shields.io/npm/v/dat-push.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/dat-push
[travis-image]: https://img.shields.io/travis/joehand/dat-push.svg?style=flat-square
[travis-url]: https://travis-ci.org/joehand/dat-push
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: http://npm.im/standard