Giter VIP home page Giter VIP logo

nyancat's Introduction

Nyancat CLI

Nyancat rendered in your terminal.

Nyancats

Distributions

Nyancat is available in the following distributions:

And also on some BSD systems:

Setup

First build the C application:

make && cd src

You can run the C application standalone.

./nyancat

To use the telnet server, you need to add a configuration that runs:

nyancat -t

We recommend openbsd-inetd, but both xinetd and systemd work as well. You should be able to use any other compatible inetd flavor too.

Distribution Specific Information

Debian/Ubuntu

Debian and Ubuntu provide the nyancat binary through the nyancat package. A nyancat-server package is provided to automatically setup and enable a nyancat telnet server upon installation. I am not the maintainer of these packages; please direct any questions or bugs to the relevant distribution's bug tracking system.

Licenses, References, etc.

The original source of the Nyancat animation is prguitarman.

The code provided here is provided under the terms of the NCSA license.

nyancat's People

Contributors

annonymouse avatar apeschel avatar cluepunk avatar fcambus avatar froller avatar herringway avatar jmccrohan avatar jwilk avatar killgallic avatar klange avatar martinrosenberg avatar mostawesomedude avatar mylesborins avatar peetz0r avatar rctay avatar tbielawa avatar tomastomecek avatar travispaul avatar tyler-cromwell avatar

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  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  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

nyancat's Issues

Vanishing Cursor after running

This is the result for running either the telnet version or the standalone version of the code.

happens in iTerm2 on OSX 10.6.8

After exiting the animation my cursor has vanished, and does not return. OH NOES!

nyancat should exit on EOF

I'm trying to write a systemd service/socket file for nyancat right now, but I noticed the processes don't quit after the socket is closed.

After talking to the people from #systemd on Freenode it seems the process should exit when it gets an EOF, but nyancat does not. I think it should.

Faithful cat

Salve,

I dunno if you give a damn, but my nyan.sh script has faithful reconstruction of the cat and adapts to the terminal window. It also adapts the RGB palette. Perhaps you want to glean some of my tricks from nyan.sh

imgur

Imgur

SegFault if TERM variable is not set

If neither TERM variable set nor -t option given nyancat crashes with SIG_SEGV.

Probably it does 'cause at nyancat.c:353 it tries to strcpy() from null-pointer nterm.

Can I (or we) help hosting it ?

As I see on https://nyancat.dakko.us/ :

Due to bandwidth limitations, the Nyancat telnet server has been shut down.

Can we (Everyone with a server and spare space) help by hosting it ? You have the domain name, maybe a small script for mirroring around a public instances list could be nice :)

It would be a shame that this piece of internet history (mine for the least) dies like that.

Add vlock support

It would be nice to add screensaver support to vlock (console lock program): it is about writing a plugin (a .so library) which should be placed under /usr/lib/vlock/modules for debian distro. I am able to write the plugin however I am not sure if it will fit in a debian .deb package (files conflict?)

What do you think?

OpenBSD pledge(2) support

OpenBSD 5.9 will ship with pledge(2). It's a security mechanism to restrict what programs are allowed to do. Most of the base system has been patched to use it, and work has started on pledging relevant third party programs in ports. It's defined in unistd.h which nyancat has already an include for.

For nyancat, it would look like this :

#if defined(__OpenBSD__)
    if (pledge("stdio tty", NULL) == -1) {
        err(1, "pledge");
    }
#endif

Would you be willing to merge this if I submit a PR?

Privileged Port

It doesn't seem safe to be running this with root privileges :)

Ideally, you could run this on a different port and have a daemon just connect the ports together, with safe code able to run on port 23 as root.

Hang during telnet option negotiation.

Option negotiation hangs if the remote client WILL send the terminal type, but WONT negotiate window size, or vice versa.
Looks like it's because the timeout alarm is cancelled when one of the two extended options are received (line 446).

change color

is it possible to change the color? instead of using the default colors

@klang you may have thought I'm a spammer or robot

I followed you on twitter last night and requested that you follow me back so I could message you (I wasnt given the option to direct message you), I am a fan of your projects and needed your expertise on one of my projects.

P.S this was the only way I saw to contact you

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.