Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kfermercer/chaturbate-grabber


https://github.com/kfermercer/chaturbate-grabber

adults-only ffmpeg livestreaming

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

```
┌─┐┬ ┬┌─┐┌┬┐┬ ┬┬─┐┌┐ ┌─┐┌┬┐┌─┐ ┌─┐┬─┐┌─┐┌┐ ┌┐ ┌─┐┬─┐
│ ├─┤├─┤ │ │ │├┬┘├┴┐├─┤ │ ├┤───│ ┬├┬┘├─┤├┴┐├┴┐├┤ ├┬┘
└─┘┴ ┴┴ ┴ ┴ └─┘┴└─└─┘┴ ┴ ┴ └─┘ └─┘┴└─┴ ┴└─┘└─┘└─┘┴└─
8===================================================D
Simping Stream from CB & SC
```

# Usage:

1. ### Clone this repo to your local:

```shell
git clone https://github.com/KFERMercer/chaturbate-grabber.git && cd chaturbate-grabber
```

2. ### Install & trigger some Docker-like shit in your OS.

```shell
#
```

3. ### Build (or rebuild after update) the docker image:

```shell
docker build -t ctbcap ./
```

4. ### RUN SIMP RUN!

- ### Run as daemon:

1. ### Custome your own docker-compose file:

```shell
cat ./docker-compose.yml.sample > ./compose.yml
```
Then edit `./compose.yml` to configure.

2. ### Deploy the compose service:

```shell
# Run by background daemon:
docker compose up -d --remove-orphans

# stop the daemon:
docker compose down
```

- ### Run once:

```shell
docker run -it --rm \
-e TZ=Asia/Shanghai \
-e PLATFORM=chaturbate \
-v /path/to/viddir:/save \
-v /path/to/logdir:/log \
ctbcap:latest <--stream>[m3u8 url only]
```

- ### Run in non-container env:

1. Make sure your shell is `bash`, and `curl`, `ffmpeg` is installed.

2. Use the following command to run:

```shell
SAVE_PATH=/path/to/savedir \
LOG_PATH=/path/to/logdir \
PLATFORM=chaturbate \
./ctbcap <--stream>[m3u8 url only]
```

### Container Variables

| Variable | Value type | Optional value | Default | Necessary to change |
| :-: | :-: | :- | :-: | :-: |
| MODEL | Streamer's username
or
stream link | `tri80085`
`s1mp_L0r3-87`
`https://chaturbate.com/your_sister`
`https://stripchat.com/dicklessman`
... | - | Yes |
| PLATFORM | `chaturbate`
or
`stripchat` | `chaturbate`
`stripchat` | `chaturbate` | Yes |
| TZ | [TZ identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) | `UTC`
`Asia/Shanghai`
`Africa/Harare`
... | `UTC` | No |
| SAVE_PATH | Path of stream saves | `/path/to/savedir` | `/viddir` | No |
| LOG_PATH | Path of logs | `/path/to/logdir` | `/logdir` | No |
| DEBUG_MODE | `1`
or
any other string | `1`
`ishowspeed`
`i was born form my sis`
... | `your mom is so hot` | No |

### Follow update:

1. Go to local repo:

```shell
cd chaturbate-grabber
```

2. Update repo to newest commit:

```shell
git pull --rebase
```

- **Once successfully update, you all need to [rebuild the image](#build-or-rebuild-after-update-the-docker-image).**

---

`(. )( .)`