community icon indicating copy to clipboard operation
community copied to clipboard

New App: Visualizer Coffee

Open jeffbean opened this issue 4 months ago • 4 comments

Adding a first version of an app that will display espresso shot information based on the data found from visualizer.coffee.

The main information is number of shots today, and when the last shot was.

Description

Adds the application displaying information that is found in the coffee API to share with others and maybe yourself on how much coffee you may or may not be having in a day :D

visualizercoffee

Copilot

copilot:all

jeffbean avatar Feb 10 '24 23:02 jeffbean

⚠️ The automated review process is experimental and likely has bugs. Please bear with us as we iron out the kinks and enable you to ship changes at high velocity 🚀

Next Steps

Hello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:

  • [ ] Sign the CLA if you haven't already
  • [ ] Ensure your build is green! Any problem will display a proposed solution to try out
  • [ ] Get a review, either by Tidbyt Bot or by a Tidbyt engineer

Manual Review Required

Hang tight! A Tidbyt engineer will be by shortly to review your change. Here is what they will be looking for:

Test Details
App Dir All files are in a single app directory
🟡 Modules Usage of http.star requires review
Original Author The original author matches the PR author

Previews

apps/visualizercoffee/visualizercoffee.star:

tidbyt[bot] avatar Feb 10 '24 23:02 tidbyt[bot]

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

tidbyt-bot avatar Feb 10 '24 23:02 tidbyt-bot

I have read the CLA Document and I hereby sign the CLA

jeffbean avatar Feb 10 '24 23:02 jeffbean

recheck

jeffbean avatar Feb 10 '24 23:02 jeffbean

Sorry for the terrible delay on this one. We're doing a lot of work on Tidbyt Gen 2 right now, and the community repo suffers as a consequence. =(

We usually try to set up Tidbyt-owned credentials for oauth apps, but I can't seem to find anything on visualizer.coffee on how to set those up. Do you by any chance have any pointers?

matslina avatar Mar 15 '24 16:03 matslina

Sorry for the terrible delay on this one. We're doing a lot of work on Tidbyt Gen 2 right now, and the community repo suffers as a consequence. =(

We usually try to set up Tidbyt-owned credentials for oauth apps, but I can't seem to find anything on visualizer.coffee on how to set those up. Do you by any chance have any pointers?

Ah, so the app does OAuth but requires contacting them to enable it for an account. https://github.com/miharekar/visualizer?tab=readme-ov-file#api

If this is something of a blocker I can always swap to basic auth, but OAuth would be ideal.

jeffbean avatar Mar 15 '24 16:03 jeffbean

@jeffbean I've reached out to visualizer.coffee. Will keep you posted here.

matslina avatar Mar 21 '24 12:03 matslina

Credentials updated.

matslina avatar Mar 21 '24 13:03 matslina

There's some sort of OAuth issue going on. I'm troubleshooting and will follow up.

matslina avatar Mar 21 '24 14:03 matslina

Haven't been able to get past it. Authorization codes arrive as they should, but the access_token endpoint is returning 404 on POST. Gonna keep digging, but if you have any ideas then LMK.

matslina avatar Mar 21 '24 16:03 matslina

hmm, ok. ill do some debugging.

thanks for setting it up!

jeffbean avatar Mar 21 '24 23:03 jeffbean

Feel free to shoot me a DM on discord if I can help. I've been trying to get this working for a bit now, but failing so far.

matslina avatar Mar 25 '24 13:03 matslina

Hopefully resolved in #2353

matslina avatar Mar 28 '24 12:03 matslina