Code Monkey home page Code Monkey logo

cowgoesmoo's People

Contributors

rebootjeff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cowgoesmoo's Issues

[chore] tweet about it

Know sum1 who needs #COVID #vaccine but can't refresh @cvspharmacy & @Walgreens websites 24/7 to check for open appointment? I made #CowGoesMoo, a tool to check websites & alert u when it finds availability
๐Ÿฎ๐Ÿ’ฌ๐Ÿ’‰ https://github.com/RebootJeff/cowGoesMoo (requires @nodejs)

but make sure the preview image picked up by Twitter is correct

[Feature Requestion] Add ZIP Code Support for CVS

Hi!
Currently the CVS checker just looks at statewide availability instead of looking at specific zip codes. It would be nice to have it check based on zip code for more accurate alerts.

Thanks!

[feat] Design a logo

Add it to the README and to the desktop notifications (as an icon to replace the default placeholders).

[chore] Change my GitHub avatar

The social media preview image isn't working when I link to this repo from Twitter. Twitter will use my GitHub avatar as the preview image. So maybe I should change my GitHub avatar to the CowGoesMoo social media preview image?

Great program! Here's a Walgreen's bug (it may not matter)

Walgreens checker error: TypeError: Cannot read property 'press' of null
at checker (file:///Users/tmunn/src/cowGoesMoo/src/sites/walgreens.js:55:29)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async runCheckerSafely (file:///Users/tmunn/src/cowGoesMoo/src/check.js:19:12)
at async checkAllSites (file:///Users/tmunn/src/cowGoesMoo/src/check.js:34:20)
at async startChecking (file:///Users/tmunn/src/cowGoesMoo/src/check.js:57:5)
at async start (file:///Users/tmunn/src/cowGoesMoo/src/index.js:34:5)

[chore] Refactor looping mechanic

Right now, repeated checks are done via recursion. But I'm worried this could lead to a slow-but-steady growth in memory usage.

The repetition could be refactored to use an iterative loop instead of recursion.

[bug] Graceful shutdown is slightly wrong

When running the app locally, the expected logs aren't shown when you press CTRL+C to exit. You only see some of the expected logs. It makes me think the shutdown code isn't set up correctly.

[feat] Add auto-retry logic

When a checker returns null, there was likely unexpected website behavior. Ideally, the checkers are retried at least once when they fail to return a proper boolean.

[feat] Add reminder notification

Add a feature that periodically (once per week?) sends a notification to remind the recipient that the app intends to send notification with good news ASAP. This is to prevent the recipient from forgetting that their contact info is still in use and that the app is still running.

This is especially relevant if the app is running on a server.

[feat] [chore] Improve the checker/notifications for Vaccine Spotter

The future of CowGoesMoo might be to simply rely on the Vaccine Spotter API rather than using Puppeteer to browse various websites. My only hesitation is that the API is "very beta". But if I were to take CowGoesMoo into this new direction, there are a couple of things to address...

[chore] Checker

The initial version of the Vaccine Spotter checker doesn't do any caching, so if there are multiple cities in the search config that are in the same state, the state-specific endpoint will be requested over and over even though it probably hasn't changed yet (i.e., CowGoesMoo will run through each city faster than Vaccine Spotter API's once-per-minute update speed).

[feat] Notification

When the Vaccine Spotter checker was first added to CowGoesMoo, there wasn't much tweaking to the notifications. Ideally, the CowGoesMoo uses the details in the Vaccine Spotter API data to provide more useful info in the CowGoesMoo notifications. For example, the email notification could show a list of vaccine providers (with availability) broken down by location.

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.