Skip to content

joehand/dat-now

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.
  • Deploys ONCE to now.sh 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

About

Deploy this to now.sh to host a dat

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published