Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

docs: update architecture overview and core architecture image, add more info to the readme #637

Merged
merged 1 commit into from
Dec 4, 2016

Conversation

daviddias
Copy link
Member

@pgte hope this is useful to you :)

@daviddias daviddias added the status/in-progress In progress label Dec 4, 2016
@daviddias daviddias merged commit 89b5fc6 into master Dec 4, 2016
@daviddias daviddias deleted the feat/arch-diagrams branch December 4, 2016 08:44
@daviddias daviddias removed the status/in-progress In progress label Dec 4, 2016
├── cli # Implementation of the IPFS CLI
│   └── ...
├── http-api # The HTTP-API implementation of IPFS as defined by http-api-spec
├── core # IPFS implementation, the core (what gets loaded in browser)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diasdavid these really should be three different modules at this point

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost entirely agree with the caveats of:

  • This forces us to run the 5 sets of tests every time
  • It gets a way to people install js-ipfs as they are used to do it with go-ipfs (install one thing, get it all)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea was to have js-ipfs (ipfs npm module) be a tiny wrapper that exposes the same functionality as it does now for end users. But code and tests would move into

  • js-ipfs-core
  • js-ipfs-cli
  • js-ipfs-http

This way you get the same convenience but if you only want to use js-ipfs in the browser all you need is to install js-ipfs-corewithout all the cli + http baggage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, let's get to js-ipfs 1.0.0 first, then we factor out :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a plan on what we need for 1.0.0? Why should we do a big change of code structure after 1.0, for me it makes much more sense to do it before that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants