Slackle up your Slack ✨
A lightweight and magical framework for building Slack apps effortlessly.
View on GitHub Get Started
Create your Slack app the easiest way.
Slackle makes it effortless to build powerful Slack apps.
app.py
app = Slackle()

  @app.on_event("/message")
  def hello(user_id):
    return f"Hello @{user_id}!"
          
profile
Andy
Hi there! I am Andy.
profile
Slackle APP
Hello @Andy!
Experience our powerful plugin system
With our plugin system, anything is possible.
app.py
app = Slackle()
@slackle.formatter.register(UserData)
class GreetingFormatter(BaseFormatter):
    data_type = UserData

    @classmethod
    def default_params(cls):
        return GreetingFormatterParams()

    def to_slack_markdown(self) -> SlackMarkdown:
        return SlackMarkdown(
            f"Hi {self.data.name} :wave:"
        )


@slackle.on_event("app_mention")
async def on_mention(user_id):
  formatter = app.formatter.get(UserData)(user_id, parameter)
  message = formatter.to_slack_markdown()
  return await slack.send_message(message, channel_id)
          
profile
Andy
Yo @Slackle, what's up?
profile
Slackle APP
Hi @Andy 🖐
Join Slackle community
Be the first to contribute to the Slackle project.
Get Started