Giter VIP home page Giter VIP logo

partyparrot's Introduction

:partyparrot:

partyparrot

Usage

Deploy to now with now

With the Party Parrot (:partyparrot:)

Just pass the script a string of your choosing.

python partyparrot.py "HELLO" | pbcopy

Custom Emoji List

Use the -e or --emojis flag to use a custom list of emojis.

python partyparrot.py "something stupid" -e ":emoji1:" ":emoji2:" ":emoji3:" ":emoji4:" | pbcopy

Auto-Post to Slack

Use the -f or --force flag to auto-post to your favorite Slack channel (configure URL in the "Incoming Webhooks" section of the "Integrations" page).

SHITPOSTING_ENDPOINT="<YOUR_SLACK_INCOMING_WEBHOOK_URL>" python partyparrot.py "something stupid" -f

As a Slash Command /partyparrot

Now that slack supports posting to the channel in response to a slash command, providing the party parrot as one makes a lot of sense. Simply deploy this app to your favorite Procfile-compatible hosting provider (heroku and dokku come to mind) and configure the Custom Slash Command Integration in your slack channel. The app allows for the optional ENV var SLACK_TEAM_TOKEN to restrict access to a specific team.

Tests

implying you actually want to test this

python test_partyparrot.py

Shameless Plug

I also made a shirt for the party parrot because it compelled me to. help me Teespring Campaign teespring campaign

partyparrot's People

Contributors

emilypries avatar gabebenjamin avatar m4olivei avatar shrugs 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

partyparrot's Issues

500: INTERNAL_SERVER_ERROR On Vercel

Hey! Thanks for making this! Although I will deploy it on my own, but just wanted to let you know that the link to the website is down with the following error message:
image

For some reason it suffixs a number to the end of the letter which breaks the emoji

python partyparrot.py "hi mom" | pbcopy

:partyparrot: :partyparrot:
:partyparrot: :partyparrot:
:partyparrot::partyparrot::partyparrot::partyparrot::partyparrot:
:partyparrot: :partyparrot:
:partyparrot: :partyparrot:

:partyparrot2:
:partyparrot2:
:partyparrot2:
:partyparrot2:
:partyparrot2:

:partyparrot4: :partyparrot4:
:partyparrot4::partyparrot4: :partyparrot4::partyparrot4:
:partyparrot4: :partyparrot4: :partyparrot4:
:partyparrot4: :partyparrot4:
:partyparrot4: :partyparrot4:

    :partyparrot::partyparrot::partyparrot:        

:partyparrot: :partyparrot:
:partyparrot: :partyparrot:
:partyparrot: :partyparrot:
:partyparrot::partyparrot::partyparrot:

:partyparrot2: :partyparrot2:
:partyparrot2::partyparrot2: :partyparrot2::partyparrot2:
:partyparrot2: :partyparrot2: :partyparrot2:
:partyparrot2: :partyparrot2:
:partyparrot2: :partyparrot2:

Add gitignore

The pyc is making my eyes bleed

:partyparrot2::partyparrot2::partyparrot2::partyparrot2:
:partyparrot2: :partyparrot2:
:partyparrot2::partyparrot2::partyparrot2::partyparrot2:
:partyparrot2:
:partyparrot2:

:partyparrot2: :partyparrot2:
:partyparrot2: :partyparrot2:
:partyparrot2::partyparrot2::partyparrot2:
:partyparrot2:
:partyparrot2:

    :partyparrot4::partyparrot4::partyparrot4::partyparrot4:

:partyparrot4:
:partyparrot4:
:partyparrot4:
:partyparrot4::partyparrot4::partyparrot4::partyparrot4:

Slash command posting issue

image
For whatever reason the slash command is only 'party-parroting' the first letter of each word. Any idea why?

Horizontal text

It would be nice to have a option to print in horizontal instead of vertical.

In the Compact Slack theme, the first line of parrots gets shifted

When you have the Compact theme set (Preferences > Messages & Media > Message Theme > Compact), the first line of parrots is inline with the user name, causing it to shift away from the rest of the message.

Would it be possible to throw in a newline at the beginning?

franz 2017-07-28 08-44-35

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.