Git Product home page Git Product logo

Comments (10)

Bouni avatar Bouni commented on May 9, 2024

That's an excellent idea! How do you plan to host the information about all the libs?

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

@Bouni All libraries will be hosted on GitHub. The one thing that developer should add is library.json file and register library via

$ platformio libs register %GITHUB_REPO_URL%

Then PlatformIO will use this library to propose for search/install operations.

from platformio-core.

Bouni avatar Bouni commented on May 9, 2024

So you perform a search on Github for projects that provide a library.json file, or do you provide a list of all projects that has such a file?
I just think about the time factor for such a large search!?

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

@Bouni It is another topic how PlatformIO should operate with registered libraries. I propose to create separated service (preferably Twisted Async App) that will serve each necessary information via REST API. User's PlatformIO CLI tool will communicate with this REST API for search/info operations. Also this service will collect all interesting information from libraries repo like:

  • Stars number
  • Existing releases (will be used to install specific version of lib)
  • Downloads number

Stars + Downloads will be used for RANK-ing search result.

Finally, there isn't a problem to create awesome WEB2.0 page which will allow to search/list/order libraries via browser.

from platformio-core.

Bouni avatar Bouni commented on May 9, 2024

That sounds absolutely great to me :-)
Hope you will get a lot of users for your project and also a lot of participating lib creators!

from platformio-core.

g7uvw avatar g7uvw commented on May 9, 2024

It's a good idea - one annoying thing with a lot of the Energia libs is that they only seem to live in forum postings. A more central repository of libs would be great.

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

@g7uvw Yep... I see one solution - to create separated account named "platformio-libs"(piolibs or piolibs-mirror) and here all people from the world will share interesting libraries (which don't live on GitHub at this time). Because I need real GitHub repository for each library. Only in this way I can monitor library changes, examples and etc.

See example of VIM-Scripts. They are hosted inside one account.

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

Guys @Bouni @g7uvw @hpsaturn, @elyulka,

I've just finished the work on external Library API + $ platformio lib.

Installation

You can install it (or update) from development branch via:

$ pip install https://github.com/ivankravets/platformio/archive/develop.zip

Documentation

Library Manager Documentation

Library Configuration File

I decided to not wait until lib's developers will add library.json file to their libs. I created separated repository with library config mirror.

Which libraries are suitable for PlatformIO?
Please read http://docs.platformio.ikravets.com/en/latest/librarymanager/create.html

Binary Search

See http://docs.platformio.ikravets.com/en/latest/userguide/lib/cmd_search.html

Testing

I want to ask you to help me with testing and adding new library configs to https://github.com/ivankravets/platformio-libmirror/tree/master/configs. Tell me please which are your favourite libraries.

And... If it will work good I will start to work on the special WEB site with nice GUI :)

Thanks a lot!

from platformio-core.

Bouni avatar Bouni commented on May 9, 2024

I will test the new feature as soon as i have some free time :-)

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

Guys @Bouni @g7uvw @hpsaturn, @elyulka, @lesilva00, @skraelings, @translucide

Great news! PlatformIO has own WebSite http://platformio.ikravets.com

So, you can list an embedded libraries via nice Web-GUI.

Please help with testing and filling of the libraryconfigs https://github.com/ivankravets/platformio-libmirror/tree/master/configs

Which are your favourite libraries that aren't presented in PlatformIO Library list now?

from platformio-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.