okdistribute / dat-server

A web ui and http interface for archiving dats.
45 stars 4 forks source link

persist local dir/links to config file #3

Closed okdistribute closed 8 years ago

okdistribute commented 8 years ago

maybe something as simple as https://gist.github.com/mafintosh/b807f0b89ad8236865922d97d2dc49a5

okdistribute commented 8 years ago

Thinking it could mirror the dat.status object and have lookup keys by link, for example (link is deadbeef)

{
  "dats": {
    "deadbeef": {
       "dir": "/Users/maf/..."
    }
  }
}