Giter Club home page Giter Club logo

plainoldrecipe's People

Contributors

bcspragu avatar bfcarpio avatar chrispinkney avatar dependabot[bot] avatar elliotaplant avatar fivism avatar gyskard avatar himynameisdave avatar hotfix avatar jerjou avatar maxrickettsuy avatar nicolairuckel avatar poundifdef avatar rndmh3ro avatar vjandrea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plainoldrecipe's Issues

Instructions to run locally

Sorry if this a dumb question, but is there a way to run plainoldrecipe locally without deploying to gcloud as described in the README.md?

Add title tag

It would be great if there were a title tag for the recipe, this would help give the browser a clue for saving files that included the recipe title.

Avoid breaks in ingredient list items

I don't have a way to test a patch locally, but I found that adding this to the @screen style improves the layout of the ingredients:

            li {
                -webkit-column-break-inside: avoid;
                page-break-inside: avoid;
                break-inside: avoid;
            }

Bypass test of enabled JS

some websites checks the JS support and blocks the request if its not exists.
e.g. https://www.rewe.de/rezepte

if i try to add a parser i get as response

<h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1>

Encourage parser contribution to `recipe-scrapers`

I appreciate this project and it's ability to cut the fat on a lot of recipe websites.

While we all want our favourite sites to be compatible as soon as possible it's seems odd to have yet another repo of parsers. recipe-scrapers, a dependency of this project, is quite mature in the amount of scrapers it has and it used by other projects. Wouldn't it make more sense to encourage parser PRs to be sent to that project and eventually get them downstream? In doing so, each repo can be focused on singular functionality while sharing the parsers with more projects.

Something as simple as a line in README or a reminder in a Github issue template would suffice.

Thanks

Mobile-friendly CSS

Bit of a minor issue, but I'm often using this app on mobile, where the <input /> element will appear quite small / is not an ideal UX.

I propose making the site a bit more responsive by adding some very simple mobile-friendly CSS. I am well-versed in this area and would love to open a PR and help add this, if we think it's a good idea.

Thanks for making this app, I use it multiple times a week (because I can't stand the ads and long-winded stories that often accompany recipes on food blogs).

Auto-focus URL input when the page loads

To save the user a click/entering tab, let's auto-focus the input whenever the page loads.

I don't mind opening a PR for this, as it should be very straightforward to implement. ๐Ÿ‘

Include photo in printed version

Minor feature request to include the photo in the print version of the recipe. This is helpful for dead-tree versions recipes I keep on hand for later.

Thanks so much, this is awesome!

Support www and non-www URLs

Currently, when adding a new recipe parser, you have to map the full hostname to the parser code, including the "www". It would be nice if we could standardize on just using the top-level domain ("example.com"), and for the code to, by default, also map "www.example.com".

Bookmarklet

Might be nice to have a bookmarklet on the home page. I've found this useful:

javascript:void(window.open('https://plainoldrecipe.com/recipe?url='+location.href.replace(/%5C/$/,%20'')));

Refactor: certain websites include the same json.

These parsers all seem to do essentially the same thing:

  • bowlofdelicious
  • gimmesomeoven
  • hostthetoast
  • lovingitvegan
  • minimalistbaker

I'd like to add thewoksoflife.com which includes the same json. Ideally I could just add it to a whitelist or something, instead of copying a lot of boilerplate.

Alternatively, since the format seems to be fairly common, you could potentially grab the html, attempt to scrape it, and only if that fails you would show the unsupported page.

Favicon Required

I would love to add a Favicon missing in this project to make this project stand out from a group of tabs/websites.

Please assign me this issue or let me know if we can discuss on a favicon to use and then let me create PR.

PlainOldRecipe ๐Ÿš€ @poundifdef

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.