Skip to content

taufik-nurrohman/marsble.favicons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Favicons

Free Favicons API with Super Fast Global CDN, proxying favicon from a domain. This is the code behind favicons.marsble.com.

Usage

GET `https://favicons.marsble.com/:domain`

Example:

Result:

Marsble · GitHub

Miscellaneous

Get as Raw Blob

GET `https://favicons.marsble.com/marsble.com?raw`

Get as Base64 String

GET `https://favicons.marsble.com/marsble.com?base64`

Get as JSON

GET `https://favicons.marsble.com/marsble.com?json`

Get as HTML

GET `https://favicons.marsble.com/marsble.com?html`

Get as XHTML

GET `https://favicons.marsble.com/marsble.com?xhtml`

Force to Use SSL

GET `https://favicons.marsble.com/marsble.com?ssl=1`

Disable Cache

GET `https://favicons.marsble.com/marsble.com?cache=0`

Set Custom Cache (In Seconds)

Example for 1 year:

GET `https://favicons.marsble.com/marsble.com?cache=31556952`

Installation

Clone this repository to your server and serve it with your favorite web server.

Documentations

Documentation is available on Developers page.

License

MIT