Open chrisekelley opened 6 years ago
Here's what we have so far:
So far there's create, getInfo, mkdir, and writeFile in this commit.
I think @pfrazee was looking into standardizing an HTTP API for accessing Dat Archives.
Not sure if he had something you could work off of.
I'm not focusing on that right now so I wouldnt wait for me.
Collecting some resources to implement the DatArchive API in Bunsen. So far there's create, getInfo, mkdir, and writeFile in www/nodejs-project/index.js
What others do we need to implement?
Some resources:
Don't forget dat-archive-web 😀
@RangerMauve ahhh yes, thanks! added to list.
List of DatArchive functions to consider for implementation. Most of these are from node-dat-archive, but also note ones from dat-archive-web.
I just made a new release of Bunsen which exposes some of these DatArchive API methods. It's now on the Play Store.
Check out Using the DatArchive API in Bunsen to create dat applications for dev info, and https://github.com/bunsenbrowser/bunsen/releases/tag/1.1.3 for info about this release.
You can test out this DatArchive support using the Bunsen Play dat:
dat://bunsen-play.hashbase.io
Next big step is to confirm if sharing is working - Some some modifications to dat-gateway may be needed to recognise and share new dats.
This is so awesome! Great job! 😀💜
RJ contributed the implementations of watch and load!
Bunsen should provide access to all of the DatArchive API as well as tests and examples.