Skip to content

A discord bot that displays packages from a multitude of platforms such as npm.

License

Notifications You must be signed in to change notification settings

sachinraja/librarian

Repository files navigation

Logo librarian

A discord bot that displays packages from a multitude of platforms such as npm.

Commands

  • The prefix is lib.
  • search [platform] [project] - platform must be one of the platforms listed below. project is a package you wish to search for on the specified platform.
    • Example: search npm typescript

Valid Platforms

All libraries.io platforms are valid for use with this bot.

  • alcatraz
  • atom
  • bower
  • cargo
  • carthage
  • clojars
  • cocoapods
  • cpan
  • cran
  • dub
  • elm
  • emacs
  • go
  • hackage
  • haxelib
  • hex
  • homebrew
  • inqlude
  • julia
  • maven
  • meteor
  • nimble
  • npm
  • nuget
  • packagist
  • platformio
  • pub
  • puppet
  • purescript
  • pypi
  • racket
  • rubygems
  • sublime
  • swiftpm
  • wordpress

Constraints

  • The libraries.io API has a ratelimit of 60 requests per minute, so deploying this bot to scale will be difficult.

Contributing

  • Pull requests for new features are always welcome.
  • If you have a suggestion or a bug to report, open an issue.

Hosting

  1. git clone this repository or fork it.
  2. Rename .env.example to .env and update it with your own tokens for discord and libraries.io.
  3. Run npm run dev.

About

A discord bot that displays packages from a multitude of platforms such as npm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published