Comments (2)
You will need to install rust and build the library inside of the rust
directory. After that, you will need to set the appropriate path for the gdnative library.
If you don't want to deal with that, you can just remove that folder along with the mouse ripple.
You will then need to export for your platform. This should follow the usual Godot export format.
This is not all though. You will need to get a Twitch auth token. Specifically, the one from the OAuth authorization code flow.
The usual flow for this usually requires a web app or a local server to handle the callback but I have a work around.
- Register a new Twitch application and set the oauth redirect url to http://localhost . You will also need the client id and client secret
- This is the request I used for the initial auth code request.
https://id.twitch.tv/oauth2/authorize?client_id={{client_id}}&redirect_uri=http://localhost&response_type=code&scope=bits:read channel:manage:polls channel:manage:predictions channel:manage:redemptions channel:read:polls channel:read:predictions channel:read:redemptions channel:read:subscriptions chat:edit chat:read
. You will need to replace the{{client_id}}
with your client id from the Twitch dev console. - Take the request and paste it into your browser. You should be brought to a Twitch authorization page. Authorize the application
- Your browser should redirect you to a broken page. That's okay. Take the
code
query parameter value and save that somewhere - You'll then need to follow the rest of the oauth instructions normally. Once you have the oauth token and oauth refresh token (these are different things), add them to the
potato-config.json
file. The token should auto refresh itself whenever the application starts. - Fill out the rest of the
potato-config.json
fields.
For now, this is an extremely manual process, but I'm looking into automating these steps somehow. Then I can start providing linux builds
from friendly-potato-stream.
Thanks... I hoped, I could package it up for my distro... so probably not that good of an idea with all those manual steps.
from friendly-potato-stream.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from friendly-potato-stream.