Feature Request: Live Part Stock OR Run javascript inside column
See original GitHub issueHello, I’d love to be able to track the number of components in stock for a given project from within my html bom. That way when maintaining projects and checking part statuses I don’t have to look any farther than my git repo. I’d love to contribute to the project or fork my feature if somebody can point me in the right direction within the project.
You can search for the stock quantity of a LCSC part using a simple GET request, for example:
https://wwwapi.lcsc.com/v1/products/detail?product_code=C2565
Another idea I had was to try and inject javascript into the Symbol Fields Table in KiCAD, but I couldn’t get that to work: As you might be able to guess, I’m mostly a react developer…
Any ideas on how I might be able to get this working?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Handling common JavaScript problems - MDN Web Docs
Now we'll look at common cross-browser JavaScript problems and how to fix them. This includes information on using browser dev tools to track ......
Read more >How to perform a real time search and filter on a HTML table
I created these examples. Simple indexOf search. var $rows = $('#table tr'); $('#search').keyup(function() { var val = $.trim($(this).val()).replace(/ +/g, ...
Read more >Network features reference - Chrome Developers
Discover new ways to analyze how your page loads in this comprehensive reference of Chrome DevTools network analysis features.
Read more >Kendo UI for jQuery Grid Overview - Demos
The Grid component is part of Kendo UI for jQuery, a professional grade UI ... features such as locked and sticky columns, built-in...
Read more >Google Visualization API Reference | Charts
Creating and populating a table in JavaScript by calling addColumn() , addRow() ... The column label is typically displayed as part of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @waymond91 !
Just my 2 cents: KiCost is designed to find the costs and prices for a KiCad BoM, it currently supports the REST API for Digi-Key, Mouser, Newark/Farnell and TME. You need tokens for each distributor, they are free.
Both, KiCost and iBoM, are integrated by KiBot. It runs on Linux and CI/CD environments, some users runs it on Windows (using WSL), for MacOS some adjust should be done, but I can assist you. Running KiBot on a GitHub action without any configuration you can get this.
Just in case you want to take a look at what is currently available.
Open
Configure paths
dialog from preferences menu of kicad and check theKICAD6_3RD_PARTY
path.There is no requirement.txt because the plugin doesnt need anything beyond what comes with kicad. To run it on non-linux system you have to run the python bundled with kicad, not the system one. Not sure where it is on mac.