Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pierre-lecocq/bonjourmadame

Say "Hello ma'am!"
https://github.com/pierre-lecocq/bonjourmadame

emacs utility

Last synced: 3 months ago
JSON representation

Say "Hello ma'am!"

Awesome Lists containing this project

README

        

* bonjourmadame.el

[[http://melpa.org/#/bonjourmadame][file:http://melpa.org/packages/bonjourmadame-badge.svg]]

Display the image from bonjourmadame.fr within GNU/Emacs.

** Disclaimer

For some people, images displayed might be NSFW.

** Install

A package is available on MELPA. To install it, simply type =M-x package-install= RET =bonjourmadame=

Or, if you want to install it from the source repository, just clone the =bonjourmadame.el= file in your emacs load-path.

** Usage

- =M-x bonjourmadame=
- =M-x bonjourmadame-browse=

** How it works

After launching the command =M-x bonjourmadame= it opens a new buffer and insert the image.

Images are stored locally in the =~/.cache/bonjourmadame/= directory. You might want to remove or empty it regularly in order not to get caught or to save space.

As images are updated at 10AM (Europe/Paris timezone), it looks at the current time. Therefore, if you launch the command before 10AM, you will have the image of yesterday. Be patient and wait 10AM to get the new one.

** Keys

Once in the =*Bonjour Madame*= buffer, you can hit:

- =n= to get the next image
- =p= to get the previous image
- =h= to hide the buffer (switch to the previous one)
- =q= to quit (kill the buffer)

** Example

[[./bonjourmadame.png][file:./bonjourmadame.png]]

** Changelog

- v0.6: change base URL after the main domain outage - by [[https://github.com/ShadowMitia][ShadowMitia]] (Dimitri Belopopsky)
- v0.5: display title, use rx and stick to XDG_CACHE_HOME standard - by [[https://github.com/Schnouki][Schnouki]] (Thomas Jost)
- v0.4: display and time calculation bug fixes
- v0.3: add page navigation
- v0.2: make it a major mode
- v0.1: first release

** Contributors

- [[https://github.com/Schnouki][Schnouki]] (Thomas Jost)
- [[https://github.com/ShadowMitia][ShadowMitia]] (Dimitri Belopopsky)