hirobot_app

Version, currently main branch1 version
  • main branchlatestOct 26, 2023

github.com/the-business-factory/hirobot.app

slack bots for technical communities

0 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  hirobot_app:
    github: the-business-factory/hirobot.app
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.9.2
Author
robcole
Target
  • app from src/hirobot_app.cr

Dependencies

Runtime Dependencies

  • jwt~> 1.6.0github: crystal-community/jwt
  • avram~> 1.0.0-rc1github: luckyframework/avram
  • lucky~> 1.0.0-rc1github: luckyframework/lucky
  • raven*github: Sija/raven.cr
  • slack*github: the-business-factory/slack.cr, branch: main
  • carbon~> 0.3.0github: luckyframework/carbon
  • authentic~> 0.9.0github: luckyframework/authentic
  • lucky_env~> 0.1.4github: luckyframework/lucky_env
  • lucky_task~> 0.1.1github: luckyframework/lucky_task
  • opentelemetry-api*github: wyhaines/opentelemetry-api.cr
  • carbon_sendgrid_adapter~> 0.3.0github: luckyframework/carbon_sendgrid_adapter
  • opentelemetry-instrumentation*github: wyhaines/opentelemetry-instrumentation.cr

Development Dependencies

  • ameba~> 1.5.0github: crystal-ameba/amebadev
  • lucky_flow~> 0.9.0github: luckyframework/lucky_flowdev

README

Hiro: A Slack App for Technical Communities

Hiro is a Slack app using Lucky and the slack.cr.

Currently, it is in beta use on the Ruby on Rails Slack Community and is providing tools to automate responses to posts, helping curate a better job board for the community.

Setting up the project

  1. Install required dependencies
  2. Update database settings in config/database.cr
  3. Run script/setup
  4. Optional: Install overmind or foreman as a process manager
  5. Optional: Run OVERMIND_PROCFILE="Procfile.dev" overmind s or foreman start -f Procfile.dev to start the app (note: since this app is running in production, you'll need to change settings to a new app to run the app locally against Slack)
  6. Run crystal spec to run tests
  7. Run bin/ameba to run automated code checks

Learning Lucky

Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.