https://github.com/nodebb/nodebb-package-manager
Package manager for NodeBB
https://github.com/nodebb/nodebb-package-manager
Last synced: 9 months ago
JSON representation
Package manager for NodeBB
- Host: GitHub
- URL: https://github.com/nodebb/nodebb-package-manager
- Owner: NodeBB
- Created: 2014-10-11T20:40:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-02-09T23:46:07.000Z (11 months ago)
- Last Synced: 2025-03-22T15:22:45.101Z (9 months ago)
- Language: JavaScript
- Size: 1.64 MB
- Stars: 4
- Watchers: 7
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## NodeBB Package Manager
The NodeBB Package Manager functions as a directory/index for every plugin that is published to npm.
The front-end interface is deprecated (though still runs), and the API is referenced by all NodeBBs to determine what packages are available and installable.
## Setup
Copy `launch.template` to `launch`, and make sure the file is set to executable.
[Create an OAuth App](https://github.com/settings/applications/new) (the `redirect_uri` is `/gh-callback`) and insert the client id and secret into the `launch` file. The secret is not used normally, it is only used during setup so you can step through the login flow and retrieve a long-lived access token. You can leave `GITHUB_TOKEN` empty for now.
Uncomment the OAuth flow route in `lib/routes/main.js`
Start nbbpm and start the login flow. It should send back the access token to the browser. Update `GITHUB_TOKEN` in `launch`, and clear `GITHUB_SECRET` if you prefer.
Restart nbbpm.
## Caveat Emptor
NodeBB Inc., NodeBB, and all of its contributors are not responsible for the content of any plugins published. You are advised to inspect the source code of
any plugins you wish to install, in order to determine it's safety.