Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Loukious committed Jul 21, 2024
0 parents commit 1402ae8
Show file tree
Hide file tree
Showing 7 changed files with 1,111 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: Loukious
buy_me_a_coffee: loukious
56 changes: 56 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Release
on:
push:
tags:
- v*
env:
FORCE_COLOR: true

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pyinstaller
if (Test-Path requirements.txt) {
pip install -r requirements.txt
}
- name: Build Executable
run: pyinstaller --onefile --clean StreamLabsTikTokStreamKeyGenerator.py
- name: Clean up obsolete files
run: Remove-Item -Path build, StreamLabsTikTokStreamKeyGenerator.spec -Recurse -Force

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: windows
path: |
dist/StreamLabsTikTokStreamKeyGenerator.exe
release:
runs-on: windows-latest
needs: [build]
steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: actions/download-artifact@v3

- name: Create the release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ${{ github.ref_name }}
prerelease: false
draft: false
files: |
windows/StreamLabsTikTokStreamKeyGenerator.exe
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config.json
*.spec
build/*
dist/*
*.pem
*/__pycache__/*
.env
__pycache__/*
674 changes: 674 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# TikTok Live Stream Key Generator for OBS Studio Using Streamlabs API

## Description
This application is a simple tool that generates a TikTok Live Stream Key for OBS Studio using the Streamlabs API. Streamlabs TikTok LIVE access is required.

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://buymeacoffee.com/loukious)


## Features
- Generate TikTok Live Stream Key

## Requirements
- Streamlabs TikTok LIVE access. You can request access [here](https://tiktok.com/falcon/live_g/live_access_pc_apply/result/index.html?id=GL6399433079641606942&lang=en-US)
- Streamlabs account
- TikTok account
- Streamlabs installed on your computer and you are logged in with your TikTok account in Streamlabs

## Output

The script will output:
- **Base stream URL:** The URL needed to connect to the TikTok live stream.
- **Stream key for OBS Studio integration:** Stream key that that you can use in OBS Studio to stream to TikTok.

## FAQ
### Do I need to have 1k followers to get Streamlabs TikTok LIVE access?
No, you can request access even if you have less than 1k followers.
Loading

0 comments on commit 1402ae8

Please sign in to comment.