Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf committed Jul 22, 2024
1 parent 998c1d2 commit 13e9682
Show file tree
Hide file tree
Showing 16 changed files with 454 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#temp
docs

# Ignore logs folder
logs

Expand Down
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.next
node_modules
6 changes: 6 additions & 0 deletions docs/components/counters.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.counter {
border: 1px solid #ccc;
border-radius: 5px;
padding: 2px 6px;
margin: 12px 0 0;
}
24 changes: 24 additions & 0 deletions docs/components/counters.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Example from https://beta.reactjs.org/learn

import { useState } from 'react'
import styles from './counters.module.css'

function MyButton() {
const [count, setCount] = useState(0)

function handleClick() {
setCount(count + 1)
}

return (
<div>
<button onClick={handleClick} className={styles.counter}>
Clicked {count} times
</button>
</div>
)
}

export default function MyApp() {
return <MyButton />
}
5 changes: 5 additions & 0 deletions docs/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
6 changes: 6 additions & 0 deletions docs/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})

module.exports = withNextra()
21 changes: 21 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "rvc_cli",
"version": "0.0.1",
"description": "🚀 RVC + UVR = A perfect set of tools for voice cloning, easily and free!",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"next": "^13.0.6",
"nextra": "latest",
"nextra-theme-docs": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "18.11.10",
"typescript": "^4.9.3"
}
}
12 changes: 12 additions & 0 deletions docs/pages/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"index": "Introduction",
"installation": "Installation",
"rvc": "RVC",
"uvr": "UVR",
"contact": {
"title": "Contact ↗",
"type": "page",
"href": "https://twitter.com/blaisewf",
"newWindow": true
}
}
40 changes: 40 additions & 0 deletions docs/pages/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Introduction

### References

The RVC CLI builds upon the foundations of the following projects:

- **Vocoders:**

- [HiFi-GAN](https://github.com/jik876/hifi-gan) by jik876
- [Vocos](https://github.com/gemelo-ai/vocos) by gemelo-ai
- [BigVGAN](https://github.com/NVIDIA/BigVGAN) by NVIDIA
- [BigVSAN](https://github.com/sony/bigvsan) by sony
- [vocoders](https://github.com/reppy4620/vocoders) by reppy4620
- [vocoder](https://github.com/fishaudio/vocoder) by fishaudio

- **VC Clients:**

- [Retrieval-based-Voice-Conversion-WebUI](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) by RVC-Project
- [So-Vits-SVC](https://github.com/svc-develop-team/so-vits-svc) by svc-develop-team
- [Mangio-RVC-Fork](https://github.com/Mangio621/Mangio-RVC-Fork) by Mangio621
- [VITS](https://github.com/jaywalnut310/vits) by jaywalnut310
- [Harmonify](https://huggingface.co/Eempostor/Harmonify) by Eempostor
- [rvc-trainer](https://github.com/thepowerfuldeez/rvc-trainer) by thepowerfuldeez

- **Pitch Extractors:**

- [RMVPE](https://github.com/Dream-High/RMVPE) by Dream-High
- [torchfcpe](https://github.com/CNChTu/FCPE) by CNChTu
- [torchcrepe](https://github.com/maxrmorrison/torchcrepe) by maxrmorrison
- [anyf0](https://github.com/SoulMelody/anyf0) by SoulMelody

- **Other:**
- [FAIRSEQ](https://github.com/facebookresearch/fairseq) by facebookresearch
- [FAISS](https://github.com/facebookresearch/faiss) by facebookresearch
- [ContentVec](https://github.com/auspicious3000/contentvec/) by auspicious3000
- [audio-slicer](https://github.com/openvpi/audio-slicer) by openvpi
- [python-audio-separator](https://github.com/karaokenerds/python-audio-separator) by karaokenerds
- [ultimatevocalremovergui](https://github.com/Anjok07/ultimatevocalremovergui) by Anjok07

We acknowledge and appreciate the contributions of the respective authors and communities involved in these projects.
3 changes: 3 additions & 0 deletions docs/pages/installation/linux.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Satori

Satori (悟り) is a Japanese Buddhist term for awakening, "comprehension; understanding".
3 changes: 3 additions & 0 deletions docs/pages/installation/macos.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Satori

Satori (悟り) is a Japanese Buddhist term for awakening, "comprehension; understanding".
3 changes: 3 additions & 0 deletions docs/pages/installation/windows.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Satori

Satori (悟り) is a Japanese Buddhist term for awakening, "comprehension; understanding".
235 changes: 235 additions & 0 deletions docs/pages/rvc.mdx

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/pages/uvr.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# UVR
🚧 Page under construction!
72 changes: 72 additions & 0 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import React from "react";
import { DocsThemeConfig, useConfig } from "nextra-theme-docs";

const config: DocsThemeConfig = {
logo: 'RVC CLI',
search: {
placeholder: "What are you looking for? 🧐",
},
project: {
link: "https://github.com/blaisewf/rvc_cli",
},
chat: {
link: "https://discord.gg/iahispano",
},
docsRepositoryBase: "https://github.com/blaisewf/rvc_cli/tree/main/docs",
footer: {
text: (
<span>
made w ❤️ by blaisewf
</span>
),
},
nextThemes: {
defaultTheme: "dark",
},
feedback: {
content: "Do you think we should improve something? Let us know!",

},
editLink: {
component: null,
},
faviconGlyph: "favicon.ico",
logoLink: "/",
primaryHue: 317,
head: () => {
const { frontMatter } = useConfig();

return (
<>
<meta name="msapplication-TileColor" content="#fff" />
<meta name="theme-color" content="#111" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta
name="description"
content="🚀 RVC + UVR = A perfect set of tools for voice cloning, easily and free!"
/>
<meta
name="og:description"
content="🚀 RVC + UVR = A perfect set of tools for voice cloning, easily and free!"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site:domain" content="https://rvc_cli.github.io" />
<meta name="twitter:url" content="https://rvc_cli.github.io" />
<meta
name="og:title"
content={frontMatter.title || 'RVC CLI'}
/>
<meta name="apple-mobile-web-app-title" content="RVC CLI" />
<link rel="icon" href="/favicon.ico" sizes="any" />
</>
);
},
useNextSeoProps() {
return {
titleTemplate: `%s - RVC CLI`,
};
},
};

export default config;
20 changes: 20 additions & 0 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

0 comments on commit 13e9682

Please sign in to comment.