Skip to content

Commit 690fbd4

Browse files
authored
Merge pull request #1 from TheMhv/nostr
Feat: The app now run fully on the Nostr protocol
2 parents 933be93 + 8b3dcf4 commit 690fbd4

File tree

20 files changed

+1321
-238
lines changed

20 files changed

+1321
-238
lines changed

.env.example

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
RVC_API_HOST=127.0.0.1
2-
RVC_API_PORT=8000
1+
# For Models, you can separe strings by ','. Example:
2+
# MODELS="model,model2,model3"
3+
4+
MAX_TEXT_LENGTH=200
5+
MIN_SATOSHI_QNT=10

README.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,40 @@ Enable TTS messages with voice models in your live stream using payments on Ligh
33

44
## Instalation
55

6-
>#### You will need a configured and active [LiveSatoshi-Server](https://github.com/TheMhv/LiveSatoshi-Server) to run this project.
7-
86
* First, install the packages:
97

108
```bash
119
$ npm install
1210
```
1311

14-
* Create the `.env` file:
12+
### Config your .env
1513

16-
> you can copy from `.env.example`:
17-
> ```bash
18-
> $ cp .env.example .env
19-
> ```
14+
Copy the example .env
15+
```bash
16+
$ cp .env.example .env
17+
```
2018

21-
* Set the `RVC_API_HOST` and `RVC_API_HOST` variables to the address of your [LiveSatoshi-Server](https://github.com/TheMhv/LiveSatoshi-Server)
19+
Change values according to your preference.
2220

23-
* Then, run the development server:
21+
## Usage
22+
23+
* You can run the development server on localhost:
2424
```bash
2525
$ npm run dev
2626
```
2727

2828
Open `http://localhost:3000` with your browser to see the result.
2929

30-
## Customization
30+
## Deploy
31+
32+
For deploy, first you need to build:
33+
```bash
34+
$ npm run build
35+
```
36+
37+
Then, start the server:
38+
```bash
39+
$ npm run start
40+
```
3141

32-
If you want to customize the payment page, feel free to edit the `src/app/page.tsx` file
42+
And run the [widget project](https://github.com/TheMhv/LiveSatoshi-Server).

next.config.mjs

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {};
2+
const nextConfig = {
3+
images: {
4+
remotePatterns: [
5+
{
6+
hostname: '**',
7+
},
8+
],
9+
}
10+
};
311

412
export default nextConfig;

0 commit comments

Comments
 (0)