Coder Social home page Coder Social logo

Comments (2)

you-win avatar you-win commented on September 24, 2024

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.

  1. Register a new Twitch application and set the oauth redirect url to http://localhost . You will also need the client id and client secret
  2. 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.
  3. Take the request and paste it into your browser. You should be brought to a Twitch authorization page. Authorize the application
  4. Your browser should redirect you to a broken page. That's okay. Take the code query parameter value and save that somewhere
  5. 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.
  6. 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.

merspieler avatar merspieler commented on September 24, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.