New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dat

Package Overview
Dependencies
Maintainers
3
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat

Share datasets on the Internet

  • 9.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
84
decreased by-35.88%
Maintainers
3
Weekly downloads
 
Created
Source

dat

Dat is a decentralized data tool for distributing datasets small and large.

#dat IRC channel on freenode datproject/discussions docs

WindowsMac/Linux
Build statusTravis

This is the Dat 1.0 pre-release candidate. We want to make Dat into a data versioning, forking, and syncing tool. The first feature set we are working on is easy file distribution.

Key features:

  • Distribute large files without copying data to a central server.
  • Intelligently sync by deduplicating data between versions.
  • Swarm data by connecting those who want data with those who already have it.
  • Verify data integrity using strong cryptographic hashes.
  • Work everywhere, including in the browser, on the desktop, as well as in R and python.

Dat embraces the Unix philosophy: a modular design with composable parts. All of the pieces can be replaced with alternative implementations as long as they implement the abstract API.

Please note that previous versions of Dat (alpha, beta) are incompatible with the 1.0 pre-release.

Install

To install the 1.0 Pre-release from npm:

npm install dat -g

If you receive an EACCES error read this guide.

Installing from source

Clone this repository and in a terminal inside of the folder you cloned run this command:

npm link

This should add a dat command line command to your PATH. Now you can run the dat command to try it out.

Getting started

Go into a directory and type

$ cd mydata/
$ dat link
Creating share link for 4 files in 1 directories. 18.54 kB total.
dat://9d011b6c9de26e53e9961c8d8ea840d33e0d8408318332c9502bad112cad9989
Serving data on port 3282 (0 connections)

You are now publishing that data from your computer and it will be publicly accessible as long as your terminal is open. Your friend can get that data like this:

$ dat dat://9d011b6c9de26e53e9961c8d8ea840d33e0d8408318332c9502bad112cad9989

It will start downloading the data into the current location. It will also upload that data to others as long as the terminal is open.

Dat uses a built in TCP server to share data. This means at least one of the peers trying to share data will need their dat port open (default port is 3282, DATA on a phone keypad).

For more information, see the full project documentation here.

Keywords

FAQs

Package last updated on 21 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc