Giter Club home page Giter Club logo

favicons's Introduction

Alba Favicon Service

This service provides Alba with favicons for websites in search results.

Privacy Policy and Terms of Service available at alba.quest/legal.

Availability

This service has two endpoints:

The CDN endpoint has additional CDN and browser caching configurations to reduce load on the origin server. If you require the latest favicon verison, use the origin endpoint.

If you do not require the latest favicon version and prefer a fast response, please use the CDN endpoint. It might take up to 12 hours for new favicons to be available on the CDN endpoint.

Usage

To request a favicon, use the following request pattern:

GET  https://favicons-cdn.alba.quest/get?url=https://example.com

The favicon for the URL will be returned as a WEBP image with a file size of 16x16 pixels. If no favicon is available, a fallback favicon will be returned.

Development

  1. Clone the repository
  2. Install dependencies: pip install -r requirements.txt
  3. Run the server: python main.py

Note: This service requires Python 3.6.x or higher. It was developed using Python 3.9.x.

License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2023 Alba (alba.quest) by Paul Haedrich

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

favicons's People

Contributors

berrysauce avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.