MikuGG is a generative visual novel platform. This is the open source interactor code for the website miku.gg. You can set up miku locally or develop features using this respository instructions.
# Example installing distutils manually
pip install setuptools
Note On windows, Make sure to add Node.js to your system's PATH.
We only support the OpenAI-like APIs
Recommended models We recommend using GPTQ quants to get the best possible model with the less GPU power. The more parameters (7B, 13B, etc..), the better the model will be (in this examples). But it will require more GPU power. It only supports NVIDIA cards.
This are recommendations based on December 2023. Also, You can use oobabooga to run llama.cpp models without GPU.
# Example with Aphrodite
python -m aphrodite.endpoints.openai.api_server --model TheBloke/MythoMax-L2-13B-GPTQ -q gptq --api-keys sk-EMPTY
# Endpoint will be http://localhost:2242/v1
# Example with text-generation-webui
./start_linux.sh --api
# Then, load the model
# Endpoint will be http://localhost:5000/v1
Double-click install.bat
or run it in the command prompt. This will install the necessary dependencies for Node.js.
The script will prompt you for optional API keys. Enter the keys when prompted or leave them blank if you don't have them.
Open a terminal and navigate to the project root directory.
Run make install
. This will install the necessary dependencies.
The script will prompt you for optional API keys. Enter the keys when prompted or leave them blank if you don't have them.
run.bat
or run it in the command prompt.Open a terminal and navigate to the project root directory.
Run make run
The UIs that are up an running are
# Bot directory UI
http://localhost:8585/
# Chat interactor UI
http://localhost:5173/
# Bot Builder UI
http://localhost:8586/
For more information on how to use the Mikugg project, please refer to the official documentation at https://docs.miku.gg.
pnpm install
pnpm build
pnpm run
# hotfix for vite not refreshing deps
# need to restart the app with this command if you edit the deps under package/
rm -rf apps/interactor/node_modules/.vite && pnpm start
To sync with the lastest version from git, just run
pnpm pull
# publish public packages to npm
npx lerna publish --no-private