KiCad HTTP Library Support - replaysMike/Binner GitHub Wiki

Binner supports the KiCad HTTP library api, which allows Binner to serve as a part repository.

Getting Started

To enable Binner as a library source to KiCad, in Binner simply:

  • go to "My Account" and scroll down to "User Tokens" and click the "+Create" button.

image

  • choose "KiCad Api" as the token type, and optionally set custom timeouts if you like.

image

  • After generating a token click on "Download config" beside your token. This will download a file you can use inside KiCad.

image

  • In KiCad - go to "Preferences" => "Manage Symbol Libraries..."

image

  • click on the folder icon at the bottom to load the config file you just downloaded.

image

You should see the Binner custom folder in the listing. Click OK to complete the setup (which can take up to 30 seconds).

image

Your parts should now appear in your Symbol Library in their own categories. Each category will be prefixed with "Binner - " and only categories that contain parts will be shown.

Troubleshooting

If you see any errors after importing the config make sure that Binner is running. If its running, ensure your token is set to the correct value in the config file and that the port, protocol and IP/Hostname is set correctly.

Binner.kicad_httplib:

{
  "meta": {
    "version": 1.0
  },
  "name": "Binner HTTP Library",
  "description": "A connected library of part information.",
  "source": {
    "type": "REST_API",
    "api_version": "v1",
    "root_url": "https://localhost:8090/kicad-api",
    "token": "MY_SECRET_TOKEN_HERE",
    "timeout_parts_seconds": 5,
    "timeout_categories_seconds": 10
  }
}