{"id":15010996,"url":"https://github.com/temporal/nyan-mode","last_synced_at":"2025-05-16T18:10:50.789Z","repository":{"id":1879928,"uuid":"2238443","full_name":"TeMPOraL/nyan-mode","owner":"TeMPOraL","description":"Nyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!","archived":false,"fork":false,"pushed_at":"2023-12-05T10:29:23.000Z","size":576,"stargazers_count":814,"open_issues_count":17,"forks_count":69,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-03T18:15:30.239Z","etag":null,"topics":["cat","emacs","emacs-lisp","emacs-mode","modeline","nyan"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TeMPOraL.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":"CONTRIBUTING.org","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-08-20T09:45:44.000Z","updated_at":"2025-04-03T00:14:18.000Z","dependencies_parsed_at":"2024-01-14T10:00:08.394Z","dependency_job_id":"9e6e5c28-00d1-48f1-a2eb-78b6cb445e7e","html_url":"https://github.com/TeMPOraL/nyan-mode","commit_stats":{"total_commits":89,"total_committers":17,"mean_commits":5.235294117647059,"dds":0.2584269662921348,"last_synced_commit":"09904af23adb839c6a9c1175349a1fb67f5b4370"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeMPOraL%2Fnyan-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeMPOraL%2Fnyan-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeMPOraL%2Fnyan-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeMPOraL%2Fnyan-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeMPOraL","download_url":"https://codeload.github.com/TeMPOraL/nyan-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248606867,"owners_count":21132430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cat","emacs","emacs-lisp","emacs-mode","modeline","nyan"],"created_at":"2024-09-24T19:38:17.807Z","updated_at":"2025-04-12T17:39:26.083Z","avatar_url":"https://github.com/TeMPOraL.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Nyan Mode - Turn your Emacs into Nyanmacs! :)\n\n[[https://github.com/TeMPOraL/nyan-mode][file:https://badge.fury.io/gh/TeMPOraL%2Fnyan-mode.svg]]\n[[http://www.nyan.cat/][file:https://img.shields.io/badge/nyan-nyan-ff00ff.svg]]\n[[https://stable.melpa.org/#/nyan-mode][file:https://stable.melpa.org/packages/nyan-mode-badge.svg]]\n[[https://melpa.org/#/nyan-mode][file:https://melpa.org/packages/nyan-mode-badge.svg]]\n[[https://doi.org/10.5281/zenodo.164185][file:https://zenodo.org/badge/DOI/10.5281/zenodo.164185.svg]]\n\n *WARNING, MIND DUMBING CONTENT INSIDE.*\n\n#+BEGIN_QUOTE\n\"Nyan-mode. It's things like this that make me proud to be an emacs user.\" - [[http://twitter.com/#!/mitchellh/status/104931263479156736][mitchellh]]\n#+END_QUOTE\n\n#+BEGIN_QUOTE\n\"Everything that's wrong (or right) with Emacs.\" - [[https://youtu.be/NBArWrn6FnY?t=756][wasamasa]]\n#+END_QUOTE\n\nNyanmacs is expanding!! [[http://jacek.zlydach.pl/blog/2011-08-25-introducing-nyan-mode-el-turn-your-emacs-into-nyanmacs.html][Read the story so far]]! :).\n\n[[file:screenshot.png]]\n\nNyan Mode is an analog indicator of your position in the buffer. The\nCat should go from left to right in your mode-line, as you move your\npoint from 0% to 100%.\n\n** Features\n   - *NEW!* You can scroll the buffer by clicking in the Nyan Cat area!\n   - *NEW!* You can customize the minimum window width below which Nyan Mode will be disabled.\n   - Mind dumbing content included,\n   - Animation (=M-x nyan-start-animation=, =M-x nyan-stop-animation=),\n   - Wavy rainbow (=M-x nyan-toggle-wavy-trail=),\n   - Music, mplayer is needed (=M-x nyan-start-music=, =M-x nyan-stop-music=) (thanks, George Leontiev!),\n   - Customizable properties.\n\n** Customizations\n\n   - =nyan-animate-nyancat= - =t= to have it animated, =nil= for a static version.\n   - =nyan-animation-frame-interval= - number of seconds between animation frames. Accepts fractional values.\n   - =nyan-bar-length= - length of nyan-mode bar, in 8px-wide units.\n   - =nyan-cat-face-number= - choose a cat face for the console mode.\n   - =nyan-wavy-trail= - =t= to make the trail wavy; works even better when animation is enabled!\n   - =nyan-minimum-window-width= - minimum width of the window, below\n     which Nyan Mode will be disabled. This is important because Nyan\n     Mode will otherwise push out more relevant information from the\n     modelilne.\n\n** Using Nyan Mode with custom modeline\nFor those who were asking, or are planning to, [[http://web.archive.org/web/20120131133230/http://friendfeed.com/amitp/b4097da0/nyan-mode-turn-your-emacs-into-nyanmacs][Amit Patel shared]]\nsome tips on how to make nyan-mode work with custom modeline.\n\nHe changed his mode-line-format to appear like the following:\n#+begin_src emacs-lisp\n(setq mode-line-format\n      (list\n       '(:eval (list (nyan-create)))\n       ))\n#+end_src\n\n** Known issues\nIt's my second attempt to write a minor mode in Emacs, so there will\ndefiniely be some bugs.\n\nThis version uses XPM images, which should be supported by default by\nmost Emacs 23 installations, Windows included. In case it doesn't\nwork, try switching to master-png branch. This branch, however, may\nhave it's own issues:\n\nThere was a problem with displaying PNG images, which require libpng\nto be available for Emacs. The lib is sometimes missing (e.g. some\nWindows installation). To make it work on Windows, one needs to\ndownload a proper DLL and put it into emacs bin/ folder. To see which\nDLL is needed, do: =M-x describe-variable \u003cret\u003e image-library-alist \u003cret\u003e=.\n\n+Customizing nyan-animate-nyancat is broken; don't do it.+\nI think it works now; please report issues if there are problems with it.\n\nCode is messy and in dire need of cleanup.\n\nIt's been reported to happen that nyan mode gets duplicated when you\nactivate it twice during Emacs initialization. I'm investigating this and\nwill hopefully track it down and fix it soon.\n\n** Credits\nThanks to everyone contributing patches, bug repots and ideas! The Emacs world is forever in your debt!\n\nCode and idea inspired by =sml-modeline=, maintained by [[https://launchpad.net/~lennart-borgman][Lennart Borgman]]. See [[https://github.com/emacsmirror/sml-modeline/blob/master/sml-modeline.el][source]].\n=sml-modeline= is also available on Melpa ([[https://melpa.org/#/sml-modeline][file:https://melpa.org/packages/sml-modeline-badge.svg]]).\n\nFor animated Nyan Cat, I used [[http://web.archive.org/web/20181010013323im_/http://i1037.photobucket.com/albums/a453/DryBowser455/NyanCatSprite.png][frames]] [[https://web.archive.org/web/20130116191051/http://media.photobucket.com/image/nyan%20cat%20sprites/DryBowser455/th_NyanCatSprite.png?t=1304659408][by DryBowser455]].\n\n** Other editors\nFor many years only the [[https://www.gnu.org/software/emacs/][One True Editor]] was blessed with the presence\nof the Nyan Cat. Since its inception, however, daring souls have brought\nNyanness to the lands of Lesser Editors.\n\nHere are the examples I've tracked down so far:\n\n- Vim - nefo-mi's [[https://github.com/nefo-mi/nyan-modoki.vim][nyan-modoki.vim]] (text-only, it seems)\n- Vim - edvb54's [[https://github.com/edvb54/catium.vim][catium.vim]] (also text, apparently)\n- Sublime Text - wiggin15's [[https://github.com/wiggin15/SublimeNyan][SublimeNyan]]\n- Atom - dz's [[https://github.com/dz/atom-nyancat][atom-nyancat]]\n- qutebrowser - [[https://gitlab.com/jgkamat/qutenyan][qutenyan]]\n\nIf you've seen others in the wild, please submit.\n\n** Related\n\nCheck out Aaron Miller's [[https://github.com/aaron-em/weatherline-mode.el][weatherline.el]], partially inspired by Nyan Mode.\n\nAlso check out [[https://depp.brause.cc/zone-nyan/][zone-nyan]] by Vasilij Schneidermann ([[https://github.com/wasamasa][wasamasa]]) if you want the Nyan\nCat to visit your Emacs when you step away from the keyboard!\n\nNyanyanyanyanyanyanya! ♬ ♫ ♪ ♩\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemporal%2Fnyan-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemporal%2Fnyan-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemporal%2Fnyan-mode/lists"}