Git Product home page Git Product logo

Comments (10)

highb avatar highb commented on June 16, 2024 1

I wanted to learn about OpenAPI specs this weekend so I took a stab at making one and generating a server stub for it.

I have it running on Glitch it autogenerated some docs here and the code is here on Github. It's probably riddled with bugs since I just forked lib/prediction.js from here without testing it out much, but it's a basic prototype. 😆

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 16, 2024 1

Going to close out this issue as a backend is out of scope for this project. Feel free to fork it and build your own on top of this, however!

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 16, 2024

There is no backend for this, it's entirely on device. If you wanted to write a mobile app, you could write your own implementation of the algorithm in whatever language you'd like.

from ac-nh-turnip-prices.

Bazzatron19 avatar Bazzatron19 commented on June 16, 2024

Would be really cool if the website supported URL parameters.
So if you navigated to:

https://turnipprophet.io/index.html?buy=100&mam=10&mpm=20&tam=30&tpm=40

it would automatically fill in the fields.

My particular use case is that I host a google doc with a lot of friends and family, everyone puts in there prices there, and we sort of work like a syndicate. More chances of profit.
Would be really neat if I could script a link that automatically populates the site without requiring a greasemonkey script to find the input elements and alter their values.

I'm really new to Git, so whilst I think I could add this functionality without too much issue, I don't know how to pull and commit etc.

from ac-nh-turnip-prices.

peter50216 avatar peter50216 commented on June 16, 2024

Would be really cool if the website supported URL parameters.
So if you navigated to:

https://turnipprophet.io/index.html?buy=100&mam=10&mpm=20&tam=30&tpm=40

it would automatically fill in the fields.

My particular use case is that I host a google doc with a lot of friends and family, everyone puts in there prices there, and we sort of work like a syndicate. More chances of profit.
Would be really neat if I could script a link that automatically populates the site without requiring a greasemonkey script to find the input elements and alter their values.

I'm really new to Git, so whilst I think I could add this functionality without too much issue, I don't know how to pull and commit etc.

#27 implements something similar to this with same use case 😉

from ac-nh-turnip-prices.

Bazzatron19 avatar Bazzatron19 commented on June 16, 2024

You're a gem Peter!

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 16, 2024

There's been a couple requests for this now, so definitely something worth considering.

Bigger concerns were around the loss of personal data because the app stores values in the browser's Local Storage.

I haven't looked back over @peter50216's PR since he adjusted for that concern, but I will do that today.

from ac-nh-turnip-prices.

moolicc avatar moolicc commented on June 16, 2024

Welp, if something like this gets implemented, I'll definitely consume it from a mobile app! :)

from ac-nh-turnip-prices.

theRTC204 avatar theRTC204 commented on June 16, 2024

I'm likely going to re-implement the algorithm in Dart and use it to build out a mobile app in Flutter. If it doesn't take too long, and I like it, I'll probably release it.

from ac-nh-turnip-prices.

moolicc avatar moolicc commented on June 16, 2024

@theRTC204 sounds good!

I've started work on an implementation of the algorithm, but in kotlin. I've been looking for a project to learn kotlin with for a while now, so this might be perfect.

I've heard good things about dart and flutter though, I'd be very much interested in taking a peek at yours if you open source it 😉

from ac-nh-turnip-prices.

Related Issues (20)

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.