Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joehand/dat-now
Deploy this to now.sh to host a dat
https://github.com/joehand/dat-now
dat now
Last synced: 30 days ago
JSON representation
Deploy this to now.sh to host a dat
- Host: GitHub
- URL: https://github.com/joehand/dat-now
- Owner: joehand
- License: mit
- Created: 2017-06-20T01:33:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T05:03:21.000Z (over 7 years ago)
- Last Synced: 2024-12-25T16:05:06.509Z (about 1 month ago)
- Topics: dat, now
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 30
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-dat - dat-now - publish live syncing and versioned websites, files or whatever to `now.sh` instantly (Using Dat / Hosting & Dat Management)
README
# dat-now
Publish live syncing and versioned websites, files, whatever to now.sh instantly and forever.
## Usage
* `dat share /my-website` - share a folder with dat
* `now joehand/dat-now -e KEY=dat://28cddf6d5d21bbd9492dcdba14a68b9a35393b769b15f61e2a5258567d8bca8f`**Set your dat key** as an environment variable + deploy via now. You only need to deploy once for each dat key.
### What does this do?
* Shares a folder on your computer using [Dat](github.com/datproject/dat).
* Deploys *ONCE* to [now.sh](https://zeit.co/now) with your **dat key**
* Live syncs your files to now.sh without touching anything.### How does it work?
Whenever you share a dat, `dat-now` connects via a peer to peer network to your computer. It downloads the latest copies of all the files whenever you are connected.
Once on now, Dat serves the files over http! You can even view old versions of the files: `https://dat-now-enqtptfoko.now.sh/?version=100`.
## License
[MIT](LICENSE.md)