An open API service indexing awesome lists of open source software.

https://github.com/sachinraja/librarian

A discord bot that displays packages from a multitude of platforms such as npm.
https://github.com/sachinraja/librarian

discord discord-bot discord-bots discord-js discordjs-commando

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        


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](https://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](https://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`.