Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/node-red/flow-library
Node-RED Flow Library
https://github.com/node-red/flow-library
Last synced: 13 days ago
JSON representation
Node-RED Flow Library
- Host: GitHub
- URL: https://github.com/node-red/flow-library
- Owner: node-red
- License: apache-2.0
- Created: 2014-01-05T22:04:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T10:38:35.000Z (4 months ago)
- Last Synced: 2024-07-20T11:48:00.089Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.92 MB
- Stars: 70
- Watchers: 11
- Forks: 44
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Node-RED Library
This is the source of the application behind .
It provides a searchable index of user-contributed flows as well as node packages
published to npm.## Running a development copy
This repo comes with a docker-compose based development environment. To get started:
1. Install docker
2. Configure your flow-library settings.
The repository includes the file `default-settings.js`. You should copy that
to `settings.js` and update it with your various api keys.
**Do not** check this file back into git - it has already been added to `.gitignore` to prevent this.3. Run:
npm run docker
This first time you run this will take a while as it downloads various pieces.
When it completes, you will be able to access http://localhost:8080 to see
the flow library.The docker image uses `nodemon` to watch for changes to the source code and
automatically restart the app when needed - without having to restart docker.## Add nodes
To test you will want to add a few nodes to the database. To do so, use the update-one task. For example.
node tasks/update-one.js node-red-dashboard
or in the docker container running the application
docker exec -it flow-library_node_1 node tasks/update-one.js node-red-dashboard
## Configuration
The following env vars are used to configure the app.
```
PORT
NR_GITHUB_CLIENTID
NR_GITHUB_SECRET
NR_GITHUB_CALLBACK
NR_GITHUB_ACCESSTOKEN
NR_MONGO_URL
NR_SESSION_KEY
NR_SESSION_SECRET
NR_ADMINS
NR_TWITTER_CONSUMER_KEY
NR_TWITTER_CONSUMER_SECRET
NR_TWITTER_ACCESS_TOKEN_KEY
NR_TWITTER_ACCESS_TOKEN_SECRET
NR_MASTODON_URL
NR_MASTODON_TOKEN
NR_SLACK_WEBHOOK
NR_MODULE_BLOCKLIST
NR_AWS_BUCKET
NR_AWS_ACCESS_KEY_ID
NR_AWS_SECRET_ACCESS_KEY
NR_AWS_REGION
```