Giter Club home page Giter Club logo

getfavicon-node's Introduction

getFaviconUrl-node

Retrieve the favicon of a website. Based on https://github.com/odebroqueville/getFaviconUrl

It has been configured to be easy to setup with now.sh, but can be hosted in Heroku as well.

getFaviconUrl-node uses 3 node.js modules: request, express and cheerio.

How to run locally

node index.js

Go go http://localhost/icon?url=google.be to see an example result.

In case of access denied, try to run with more priviledges (root or administrator account).

Deploying a new version using now.sh

Note: if you are not the owner of https://getfaviconurl-node.now.sh you will have to change now.json to use a different alias.

To deploy, execute the command now in the command line:

now

To set the new deployment to production, execute now alias:

now alias

The application should now be available at https://getfaviconurl-node.now.sh

Deploying a new version using Heroku

This code can also be deployed using Heroku. Just connect this repository to a new app and deploy.

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.