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.
- Host: GitHub
- URL: https://github.com/sachinraja/librarian
- Owner: sachinraja
- License: mit
- Created: 2021-02-26T02:55:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-21T12:48:15.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T16:54:22.504Z (30 days ago)
- Topics: discord, discord-bot, discord-bots, discord-js, discordjs-commando
- Language: TypeScript
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
librarianA 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`.