or donate on PayPal
About • Docker • Features • Install
Project KnowledgeBook is an open-source Minecraft bot management platform that provides players with a user-friendly web interface to create and control helpful bots. Our goal is to enhance the Minecraft multiplayer experience with powerful automation tools, all at no cost to the player.
AI Stuff More info and docs about the new AI features will be added soon!
Check our (soon) Wiki for detailed guides on:
- Setting up Project Skyview
- Creating and managing bots
- Using the item delivery system
- Accessing the 2D map view
- Building an custom bot using nodes
- And more!
- Add checkboxes to nodes (booleans)
- Add an way in export and import flows.
- Auto save flows to browser.
| Flow name | Description | Download |
|---|---|---|
| Obtain crafting table | Collects wood to craft a crafting table and drops it | Download |
The easiest way to run KnowledgeBook. Pre-built images are published to the GitHub Container Registry on every push to main — no Node.js or build tools required.
Prerequisites: Docker with Compose plugin
git clone https://github.com/SilkePilon/KnowledgeBook.git
cd KnowledgeBook
docker compose up -d| Service | URL | Protocol |
|---|---|---|
| Frontend | http://localhost:3000 |
HTTP |
| Backend | https://localhost:3001 |
HTTPS (self-signed — accept the cert warning once) |
| Backend | http://localhost:4500 |
HTTP |
That's it! To stop: docker compose down
docker pull ghcr.io/silkepilon/knowledgebook-backend:latest
docker pull ghcr.io/silkepilon/knowledgebook-frontend:latestdocker run -d \
-p 3001:3001 \
-p 4500:4500 \
--name knowledgebook-backend \
ghcr.io/silkepilon/knowledgebook-backend:latestdocker build --target backend -t knowledgebook-backend .
docker build -f Dockerfile.frontend -t knowledgebook-frontend .| Variable | Default | Description |
|---|---|---|
NODE_ENV |
production |
Node environment |
PORT |
3001 |
HTTPS port for the backend |
HTTP_PORT |
4500 |
HTTP port for the backend |
IP_ADDRESS |
0.0.0.0 |
Interface the backend binds to |
NEXT_PUBLIC_API_URL |
— | Backend URL for the frontend to connect to |
Use this if you want to contribute or run without Docker.
Prerequisites:
- Clone the repository:
git clone https://github.com/SilkePilon/KnowledgeBook.git
cd KnowledgeBook- Install dependencies:
pnpm install --ignore-scripts && node scripts/build-pathfinder.mjsNote:
--ignore-scriptsis required because@nxg-org/mineflayer-pathfinder(2026-rewrite) has a failing upstream TypeScript build step. Thebuild-pathfinder.mjsscript compiles and links it correctly.
- Set up HTTPS for development:
cd backend
pnpm run setup-https- Start the application:
# Run both frontend and backend together
pnpm run dev
# Or separately
pnpm run frontend
pnpm run backendThe frontend will be available at http://localhost:3000 and the backend at http://localhost:3001.
Welcome to the project! This guide will walk you through the steps to add custom nodes. Follow these instructions to contribute your custom functionality.
First, make a local copy of the repository:
git clone https://github.com/SilkePilon/KnowledgeBook.gitOpen the cloned repository in your preferred IDE.
Navigate to the flow_functions folder in the project directory. Create a new file for your node with the following naming conventions:
- Name Format:
your_node_name.js - Rules:
- Use lowercase letters
- Use underscores (
_) to separate words - Do not include numbers in the file name
For example, if you want to create a node for crafting planks, you might name the file craft_planks.js.
In the flow_functions directory, open the functions.json file and add an entry for your new node:
{
"YOUR_NODE_NAME": {
"name": "YOUR_NODE_NAME",
"file": "YOUR_NODE_NAME.js",
"id": "YOUR_NODE_NAME",
"label": "DISPLAY NAME",
"hasInput": true,
"description": "YOUR NODE DESCRIPTION",
// example of input
"input": { "amount": "number", "message": "text", "sneak": "switch" },
"author": "YOUR NAME"
}
}Replace the placeholders:
YOUR_NODE_NAME- The name of your node (in lowercase with underscores)DISPLAY NAME- The name displayed in the UIYOUR NODE DESCRIPTION- A description of what your node doesYOUR NAME- Your GitHub username{ "NAME": "number", "NAME": "text" }- Your input fields.
Available input options:
text- An general text input boxnumber- An input box limited to numbers onlyswitch- An switch that can be set to true or false
Open your newly created file and implement your node using the following structure:
const { getBot } = require("../main.js");
function main(data) {
// Get the bot object
const bot = getBot();
// Your function logic here
console.log("Executing test_node with data:", data);
}
module.exports = { main };Key Points:
- Require
botfrom../main.js. - The
mainfunction should be defined and exported. This function is executed when the node runs. - Use
tryandcatchstatements for error handling. If an error occurs, log it and rethrow it to ensure it can be caught elsewhere.
Accessing input fields
In order to the get values from the input field of a node you can use the data argument in the main function
an example:
in functions.json I've added an function with the following input:
{ "Amount": "number", "Message": "text" }
now i can access them in the main function by doing: data.amount and data.message
the parameter name is based on the key provided in the input.
Examples
You can also checkout some of the already made nodes:
Limitations
- no way of outputting custom data from a node.
Once you’ve added your node and updated the functions.json file, push your changes to a new branch and open a pull request on GitHub.
git checkout -b your-feature-branch
git add .
git commit -m "Add custom node YOUR_NODE_NAME"
git push origin your-feature-branchGo to the GitHub repository and create a pull request. Your changes will be reviewed, and if everything looks good, they will be merged!
Thank you for contributing to the project! If you have any questions or need further assistance, feel free to reach out.
Happy coding! 🚀
<a href="https://www.buymeacoffee.com/silkepilon"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=silkepilon&button_colour=5F7FFF&font_colour=ffffff&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" />``</a>



