This is a lightweight, browser-based Dungeons & Dragons 5e character generator that integrates with the D&D 5e API. Answer a few personality-driven slider questions and the generator will recommend a class, pulling real-time class data (hit dice, proficiencies, etc.) from the API.
- Slider-based Likert questions for personality input
- Recommends a character class based on alignment traits
- Fetches live data from the D&D 5e API
- Simple, responsive, no server required
- Run
npm start - Make sure Ollama and Stable Diffusion are running already.
- Open localhost:3000
- Adjust the sliders based on your character's personality.
- Click "Generate Character" to get a recommended class and its details.
The end result will look like this
⚠️ Requires an internet connection to fetch data from the dnd5eapi.co site.
index.html– Main appstyle.css– Styling for layout and labelsscript.js– Main logic and API fetching
This project uses the open D&D 5e API. All D&D terms are owned by Wizards of the Coast.
MIT — see LICENSE
This has totally been dibe coded.