Comments (10)
That's an excellent idea! How do you plan to host the information about all the libs?
from platformio-core.
@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.
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.
@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.
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.
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.
@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.
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 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.
I will test the new feature as soon as i have some free time :-)
from platformio-core.
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)
- custom boards_dir not recognized with core version >6.1.11 HOT 1
- LDF can't work with latest Adafruit TinyUSB on any setting HOT 1
- Feature request to support python extra_scripts with dependency manager HOT 3
- Remote Upload and Monitor not using environment config
- Automatically add all generic boards for STM32 (bare chip variants, which are a lot) HOT 1
- Publish IDE to https://open-vsx.org HOT 1
- Problems with –project-dir option to pio init HOT 5
- Library Dependency Finder (LDF) adds too many files when testing (pio test) HOT 2
- Add support for LuatOS ESP32C3-CORE Development Board
- Feature request for support for Milk-V Boards
- Feature Request: Support RealTek Ameba AMB82-Mini board (RTL8735BDM) HOT 1
- In the results of the test, different file names are displayed. HOT 3
- NameError: name 'includes' is not defined while updating metadata for VSCode IDE HOT 10
- LDF that picks wrong library version. HOT 2
- Can't build firmware on command line if I specify other targets HOT 2
- Add Sparkfun Thing Plus Matter - MGM240P support
- Feature request for support resuming downloads
- Addition of new boards of Texas Instruments especially TMDXRM57LHDK , RM57L843 and C6000 family HOT 3
- Cppcheck does not work on Windows... HOT 1
- PlatformIO wont read the ROBON NANO V3.1 board ( It wont read or acknowledge the board. its like there is no support for the M4 . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platformio-core.