GithubHelp home page GithubHelp logo

rgrove / emergencykitten Goto Github PK

View Code? Open in Web Editor NEW
66.0 8.0 33.0 503 KB

Sometimes you just need a kitten.

Home Page: https://www.emergencykitten.com

License: MIT License

JavaScript 64.42% CSS 13.61% HTML 21.97%

emergencykitten's Introduction

Emergency Kitten!

Emergency Kitten shows you a random kitten on every pageview. Because sometimes you just need a kitten.

Kitten Sources

Kittens can come from two places:

  1. A small set of curated kittens that are hard-coded in src/kittens.json.

  2. A Flickr search for interesting CC-licensed or public domain photos tagged with kitten or kittens.

Exactly which place a kitten comes from on any given pageview is completely random. If the Flickr API call fails for any reason, a kitten from the curated set will be used instead.

From time to time you may see a photo that doesn't contain a kitten. This just means someone mistagged it on Flickr. Sorry about that.

Development

To run Emergency Kittens locally, you'll need Node.js and pnpm.

After cloning this repo, use pnpm to install dependencies:

pnpm install

To start a development server, run:

pnpm start

This will start a dev server at http://127.0.0.1:8000 (or the next available port). Open that URL in your browser. You can now edit the files under public/ and src/ and your changes will be built automatically when you reload the page.

Contributing

The best way to contribute is to upload pictures of kittens to Flickr! At this time, we don't need any more curated kittens. If you spot a bug or a broken kitten, please file an issue.

We're not looking for new features or new data sources at this time.

emergencykitten's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emergencykitten's Issues

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.