https://github.com/schachte/cloudflare-stream-tus-php
TUS upload implementation for Cloudflare Stream in PHP
https://github.com/schachte/cloudflare-stream-tus-php
cloudflare cloudflare-stream direct-creator-uploads stream tus video
Last synced: 7 months ago
JSON representation
TUS upload implementation for Cloudflare Stream in PHP
- Host: GitHub
- URL: https://github.com/schachte/cloudflare-stream-tus-php
- Owner: Schachte
- Created: 2024-03-14T14:46:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-14T20:42:28.000Z (over 1 year ago)
- Last Synced: 2025-01-14T13:37:23.951Z (9 months ago)
- Topics: cloudflare, cloudflare-stream, direct-creator-uploads, stream, tus, video
- Language: PHP
- Homepage: https://ryan-schachte.com
- Size: 556 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudflare Stream TUS in PHP
Features an easily deployable PHP server and UI for handling direct creator uploads for Cloudflare Stream.

## Running
First, create a `.env` file with the following details at the root of the directory:
```
CLOUDFLARE_ACCOUNT_ID=your_account_id
CLOUDFLARE_API_TOKEN=your_api_token
````make run-dev` to run the server
_Hot reloading support is enabled. If you make changes to the code, the server and client will automatically reload those changes_
## Access
- UI: `http://localhost:3000`
- Upload endpoint: `http://localhost:3000/upload`
- BrowserSync (used for hot reloading): `http://localhost:3001`