core-api for Go implementation
Opened this issue · 4 comments
I'm working on the go-ipfs-core-api in go-ipfs/core/coreapi (ipfs/kubo#2876) for now, but I guess ideally it should move here? Should I move the js stuff into a subdirectory?
Also, should this repo be named something something core-api, instead of core interface? The terms API and interface aren't neccessarily synonymous. I know it's late for this concern, I just picked up the go-core-api work again and found it a bit irritating.
but I guess ideally it should move here?
yes
Should I move the js stuff into a subdirectory?
Probably best to move all things that can be moved related to js into a folder javascript
and add another folder go
with the go things. Should also have a note on this in the readme
interface-core-api/go roadmap
The PM tracking milestone for this is here for now: https://github.com/ipfs/go-ipfs/milestone/19
The preliminary roadmap looks as follows:
- gateway powered by
go-ipfs/core/coreapi
- preliminary Unixfs API:
Cat()
,Ls()
, with tests -- ipfs/kubo#3207 - preliminary Unixfs API:
Add()
, with tests - Object API:
AddLink()
,RmLink()
- preliminary Unixfs API:
- Unixfs API specs
go-ipfs/core/coreapi
moved tointerface-ipfs-core/go
- gateway extracted from go-ipfs to go-ipfs-gateway
- go-ipfs-api implements Core API
- unixfs, object, block
- etc.
- go-ipfs commands use Core API
- unixfs, object, block
- etc.
- more API specs and implementations in go-ipfs-api and interface-core-api
@lgierth anything that can be PR'ed to this repo? I'm interested to know if the current way of defining the API works for go land as well
This exists now and we even got a tutorial for it: