Home

Awesome

Channel Logos

API Usage

An API for square channel logos, different variations.

JSON with all channels

Includes channel name (lowercase) and logo filename

https://jaruba.github.io/channel-logos/logo_paths.json

Example of JSON entries:

{ 
	"fuji tv":"/yS5UJjsSdZXML0YikWTYYHLPKhQ.png",
	"abc":"/an88sKsFz0KX5CQngAM95WkncX4.png",
	...
}

Channel logo variations

Currently supported logo variations (background HEX color, logo type: white / color):

Channel logo URL

https://jaruba.github.io/channel-logos/export/transparent-color/tuomPhY2UtuPTqqFnKMVHvSb724.png

If you need a new background color + logo type variation, create a pull request for the web branch or an issue for it.

Building Locally

Building steps:

Prerequisites

Install

git clone http://github.com/jaruba/channel-logos
cd channel-logos
npm install

Alternatively, if you want to download all current variations of the logos, you can use: npm install jaruba/channel-logos#web

Pull TMDB TV Channel Export

This step is optional and requires a TMDB API key. If you do not pull the channel data export, then the last export that was committed to this repository will be used.

npm run pull tmdb-api-key

This action will result in the ./logo_paths.json file being created from the newest DB export.

Download Original Logos Locally

This step is optional, if you download the original channel logos locally, then it will process images much faster if you need to create many different variations of the logos.

npm run download-all

Process Images

npm start logo-preference background-color box-size margin

This action will create a new folder in ./export named based on the logo-preference and background-color choices with the processed images.