Dat Desktop
Peer to peer data sharing app built for humans.
Table of Content
Download
To run the app locally check out our download guide or install directly from the command line using Homebrew Cask. Currently only MacOS is supported.
$ brew update && brew cask install dat
Commands
$ npm install # install dependencies
$ npm start # start the application
$ npm run dist # compile the app into an ASAR file to release
$ npm start --dat=<dir> # change the path for new dat archives (default ~/Downloads)
Directory structure
elements/ Standalone application-specific elements
lib/ Generalized components, should be moved out of project later
models/ Choo models
pages/ Views that are directly mounted on the router
public/ Various assets
scripts/ Various scripts used to build and manage the repository
app.js Client application entry file
index.html Initial HTML served
index.js Electron application entry
FAQ
How can I speed up downloading Electron?
If you’re not in Europe or the US, you might want to use a different mirror for electron
.
You can set the ELECTRON_MIRROR
variable to point to a different provider:
# Europe / US
$ npm install
# Asia / Oceania
$ ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/" npm install
License
MIT
Font Attribution & License
SourceSansPro-Regular.ttf: Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. SIL Open Font License, 1.1
SourceCodePro-Regular.ttf: Copyright 2010, 2012 Adobe Systems Incorporated. All Rights Reserved. SIL Open Font License, 1.1