This is the server component for the Ethereal Plane Foundry Plugin
- Download the file for your operating system from the latest release
- Download .env.example to the same folder as the executable
- Rename .env.example to .env
- Delete the section for any platform you are NOT using
- Fill in your login name
- Optionally the channel ID for which to run the bot
- Finally, grab a token for that twitch user from the TMI token generator.
- You're ready to go!
- Create a Google Cloud Console project
- Go to
APIs & Services
>Library
- Click
Enable APIs and services
- Search for and turn on the
YouTube Data API v3
- Go to
APIs & Services
>Credentials
- Click
Create Credentials
>OAuth client ID
- Select
Desktop app
as the Application Type, give it any name and clickcreate
- Once created, copy and paste the
Client ID
andClient secret
into the respective fields in .env
You can also set the Video ID of your Live-Stream if you know it ahead of time. Note that this is required for streams that are not public.
Finally, you can configure the client to Store the refresh token in the .env file. This way you stay logged in, however, it is not recommended for security reasons.
This repository uses xc for task definitions! As such only deno and xc are required.
Project | Version |
---|---|
deno.land | ^1.31.1 |
xcfile.dev | ^0.0.159 |
deno run --allow-net --allow-env --allow-read=.env --allow-write=.env ./src/server.ts
deno compile --allow-net --allow-env --allow-read=.env --allow-write=.env --target x86_64-unknown-linux-gnu --output server-linux ./src/server.ts
deno compile --allow-net --allow-env --allow-read=.env --allow-write=.env --target x86_64-pc-windows-msvc --output server.exe ./src/server.ts
deno compile --allow-net --allow-env --allow-read=.env --allow-write=.env --target x86_64-apple-darwin --output server-macos-x86 ./src/server.ts
deno compile --allow-net --allow-env --allow-read=.env --allow-write=.env --target aarch64-apple-darwin --output server-macos-aarch64 ./src/server.ts
Inputs: MAJOR, MINOR, PATCH
echo Adding git tag with version $MAJOR.$MINOR.$PATCH
git tag $MAJOR.$MINOR.$PATCH
git push origin $MAJOR.$MINOR.$PATCH