Giter Site home page Giter Site logo

Comments (8)

axcap avatar axcap commented on June 29, 2024

Not right now, but depending on the amount of work it may be added later.

from esp-github-ota.

zekageri avatar zekageri commented on June 29, 2024

This is the release url format if you want to start it

#define RELEASE_URL "https://{GITHUB_TOKEN}@api.github.com/repos/{USER_NAME}/{REPO_NAME}/releases/latest"

https://github.com/settings/tokens

I was able to fetch the latest with this syntax. Now i try to download it.

from esp-github-ota.

bfokin avatar bfokin commented on June 29, 2024

@zekageri are you able to utilize it currently? I just keep getting a 404 error.

from esp-github-ota.

zekageri avatar zekageri commented on June 29, 2024

I have made my own implementation which is worked great but interestingly i started to get 404 error too. It seems github does not like the api keys so far.

from esp-github-ota.

bfokin avatar bfokin commented on June 29, 2024

Do you know of any other way that works by chance?

from esp-github-ota.

zekageri avatar zekageri commented on June 29, 2024

Unfortunately not. But I will move my firmwares to my own server soon because github has rate limits and its a third party which i cant rely on. Render.com has a rellay good free tier and you can host a node.js server there.

from esp-github-ota.

axcap avatar axcap commented on June 29, 2024

Thank you for noticing, I will investigate this further.

from esp-github-ota.

axcap avatar axcap commented on June 29, 2024

@bfokin @zekageri
I just tested it with classic personal access token and it worked for me (vua curl in terminal). But i can confirm that i too get 404 when accessing the same url via browser (chrome or safari).

curl -L https://[email protected]/repos/{owner}/{private_repo}/releases

Make sure you give access to repo scope as shown in the picture below:

Screenshot 2024-03-19 at 09 41 08

from esp-github-ota.

Related Issues (9)

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.