Skip to content

Strum355/slash-sourcegraph

Repository files navigation

Slash Sourcegraph

Discord Slash Commands Service for Sourcegraph search

A service that integrates with Discord's new slash commands integration for (somewhat) client-side validated command arguments. Integrates with Sourcegraph to display search results in Discord.

Terraform and Ansible files are included, with sensitive info behind Ansible Vault and/or git-crypt : )

Tech Used

Brief list of some of the cool tech that made this possible:

  1. Caddy and Carson Hoffman's Discord Interactions Verifier Caddy plugin.
  2. Kotlin Ktor and Expedia's Kotlin GraphQL client.
  3. Sourcegraph of course.
  4. Ansible and Terraform.

Screenshots

list of commands from the discord client

search view

Search options

Search results displayed