Giter VIP home page Giter VIP logo

mkbunny's Introduction

mkbunny

ASCII Bunny memes are nice, but pretty hard to type out. In an effort to improve that experience, I've created mkbunny:

Installation

This is currently a standalone python3 script with no dependencies. A simple copy and paste or git clone should suffice.

Usage

For two simple strings:

$ python3 mkbunny.py "My teammate when we play 2v2 Smash and I die within the first minute" "me"

⠀     (\__/) My teammate when we play 2v2
   ⠀  (•ㅅ•)  Smash and I die within the
 _ノ ヽ ノ\__ first minute 
 / `/ ⌒Y⌒ Y ヽ     
(  (三ヽ人 /  |     
| ノ⌒\  ̄ ̄ヽ  ノ    
ヽ___>、___/ 
   |( 王 ノ〈 (\__/) me
   /ミ`ー―彡\  (•ㅅ•) 

While the bunny formats well for Monospaced terminals, it doesn't do well on iMessage, Whatsapp, etc. A format flag can be specified:

$ python3 mkbunny.py "My classmates' side projects" "my side projects" -f imsg

⠀         (\__/) My classmates' side projects
   ⠀  (•ㅅ•)     
 _ノ ヽ ノ\  __  
 / `/ ⌒Y⌒ Y ヽ     
(  (三ヽ人  /   |     
| ノ⌒\  ̄ ̄ヽ  ノ    
ヽ___>、___/ 
   |( 王 ノ〈    (\__/) my side projects
   /ミ`ー―彡\  (•ㅅ•)  

It'll look weird in your terminal but copies beautifully to iMessage.

If line length is a problem, specify the -l flag

$ python3 mkbunny.py "My group members starting a project ahead of time" "me lol" -f imsg -l 20

⠀         (\__/) My group members
   ⠀  (•ㅅ•)     starting a project
 _ノ ヽ ノ\  __  ahead of time
 / `/ ⌒Y⌒ Y ヽ     
(  (三ヽ人  /   |     
| ノ⌒\  ̄ ̄ヽ  ノ    
ヽ___>、___/ 
   |( 王 ノ〈    (\__/) me lol
   /ミ`ー―彡\  (•ㅅ•)   

Further help can be found at python3 mkbunny --help

mkbunny's People

Contributors

vishalkuo avatar

Stargazers

Ankit Bahl avatar Munaz Rahman avatar Kray avatar

Watchers

James Cloos avatar  avatar

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.