Sign inSign up

kfermercer/ctbcap

By kfermercer

•Updated 4 days ago

Official Container Registry of CtbCap.

Image
0

10K+

kfermercer/ctbcap repository overview

⁠CtbCap is a Functional, Reliable, Easy to Use, yet Extremely Lightweight Recorder/Watchbot for Chaturbate|StripChat.
⁠GitHub Repo⁠

⁠Usage

⁠CLI:

docker run -t --rm \
-u <UID>:<GID> \
-v </path/to/recdir>:/save \
-v </path/to/logdir>:/log \
-e TZ=Asia/Shanghai \
-e <VAR>=<value> \
... \
kfermercer/ctbcap [options...] <Username|URL>

-u <UID>:<GID> Allows you to specify the user (UID) and group (GID) that the container will run as. For example, -u 0:0 will run the container as root.

If you don't specify -u, the container will running as 1000:1000.

Use -u $(id -u):$(id -g) to use your current UID and GID.

⁠Compose (Recommend) :

services:

  modelname_1: &ctbcap-cfg # Change to Model's Username (optional).
    image: kfermercer/ctbcap:latest # Mirror: ghcr.io/kfermercer/ctbcap:latest
    user: 1000:1000 # <UID>:<GID>. Specify the user (UID) and group (GID) that the ctbcap will run as.
    restart: unless-stopped
    environment: &ctbcap-env
      MODEL: <Username|URL> # Change this value.
      PLATFORM: chaturbate # What platform are model streaming at. choose "chaturbate" or "stripchat".
      TZ: Asia/Shanghai # Naming saved files & logs by using this timezone. See <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List>.
      CUT_TIME: 3600 # Used as number of seconds to cut recording file in real time. Don't cut if set to 0.
      EDGING_MODE: "uncle makes me pee white" # Edging Mode. Inactive if not 1. Delay initial requests to servers to avoid time-specific request waves caused by large-scale deployments.
      DEBUG_MODE: "your mom is so hot" # Debug Mode. Inactive if not 1.
      NOBANNER: 1 # Disable banner display (recommend).
    volumes:
      - /path/to/recdir:/save # Recorded files save path mapping.
      - /path/to/logdir:/log # Log files save path mapping.

  #
  # Watching more model with add more blocks:
  #

  # Only need modifying values that different from template.
  modelname_2:
    <<: *ctbcap-cfg
    # user: 1000:1000
    # restart: unless-stopped
    environment:
      <<: *ctbcap-env
      MODEL: <Username|URL>
      # PLATFORM: chaturbate
      # TZ: Asia/Shanghai
      # CUT_TIME: 3600
      # EDGING_MODE: "uncle makes me pee white"
      # DEBUG_MODE: "your mom is so hot"
      # NOBANNER: 1
    # volumes:
    #   - /path/to/recdir:/save
    #   - /path/to/logdir:/log

  modelname_3:
    <<: *ctbcap-cfg
    environment:
      <<: *ctbcap-env
      MODEL: <Username|URL>
⁠Deploy the compose daemon:
# Run as background daemon:
docker compose -f ./ctbcap-compose.yml up -d --remove-orphans

# Check the status of the daemon:
docker compose -f ./ctbcap-compose.yml logs -f

# Stop & remove the daemon:
docker compose -f ./ctbcap-compose.yml down --remove-orphans

⁠Container Variables:

VariablesValue TypeValue ExamplesDefaultRecommend to Change
MODELStreamer's Username or Chatroom URL3rd8008
s1mp_L0r3-87
https://chaturbate.com/your_sister
https://stripchat.com/dicklessman
...
-Yes
PLATFORMchaturbate or stripchatchaturbate
stripchat
chaturbateYes, if not Chaturbate.
EDGING_MODEInactive if not 11
12306
...
uncles make me pee whiteYes, if the streamer is currently offline.
TZTZ identifier⁠UTC
Asia/Shanghai
Africa/Harare
...
UTCNo, if you live in Greenwich⁠.
CUT_TIMEINT0
911
6324
...
3600No
DEBUG_MODEInactive if not 11
-999
i was born from my sis
...
your mom is so hotNo
NOBANNERInactive if not 11
well, that reminds me
...
^>vvv (Docker CLI)
1 (Compose file)
No

(. )( .)

Tag summary

Content type

Image

Digest

sha256:2948a7322…

Size

8.4 MB

Last updated

4 days ago

docker pull kfermercer/ctbcap