Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Template Kokoro #822

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added templates/kokoro/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/kokoro/assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions templates/kokoro/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { Output, Services, randomString } from "~templates-utils";
import { Input } from "./meta";

export function generate(input: Input): Output {
const services: Services = [];
const apiKey = randomString(32);
services.push({
type: "app",
data: {
serviceName: input.appServiceName,
source: {
type: "image",
image: input.appServiceImage,
},
env: [`KW_SECRET_API_KEY=${apiKey}`].join("\n"),
domains: [
{
host: "$(EASYPANEL_DOMAIN)",
port: 80,
},
],
mounts: [
{
type: "volume",
name: "cache",
mountPath: "/kokoro/cache",
},
],
},
});

return { services };
}
66 changes: 66 additions & 0 deletions templates/kokoro/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Kokoro
description:
Kokoro is a powerful, browser-based AI voice generator that lets you create
natural-sounding voices without installing anything. Use it directly in your
browser or self-host it for your own applications with OpenAI API
compatibility!
instructions: null
changeLog:
- date: 2025-03-05
description: First Release (0.1.0)
links:
- label: Github
url: https://github.com/eduardolat/kokoro-web
contributors:
- name: Ahson-Shaikh
url: https://github.com/Ahson-Shaikh
schema:
type: object
required:
- appServiceName
- appServiceImage
properties:
appServiceName:
type: string
title: App Service Name
default: kokoro
appServiceImage:
type: string
title: App Service Image
default: ghcr.io/eduardolat/kokoro-web:0.1.0
benefits:
- title: No Installation Required
description:
Generate high-quality, natural-sounding voices directly in your browser
without the need for any installations.
- title: Self-hostable and Flexible
description:
Use Kokoro in your own applications by self-hosting it, ensuring full
control over your voice generation capabilities with OpenAI API
compatibility.
- title: Cutting-edge AI Voice Technology
description:
Leverage advanced AI models to create lifelike voice outputs that are
perfect for multimedia projects, virtual assistants, and more.
features:
- title: Browser-based Interface
description:
A user-friendly, web-based interface that allows you to generate voices
seamlessly from any modern browser.
- title: OpenAI API Compatibility
description:
Integrates with the OpenAI API for easy access to state-of-the-art voice
generation models.
- title: Customizable Voice Options
description:
Fine-tune voice characteristics such as tone, pitch, and speed to match
your specific requirements.
- title: Self-hosting Capability
description:
Deploy Kokoro on your own servers to maintain control over your data and
voice generation processes.
tags:
- AI
- Voice Generation
- Browser-Based
- OpenAI API