An OpenSource crowd-sourced cooking recipes website

Overview

LibreRecipes

A bloat free recipe website made in Flask for normies

This is an OpenSource crowd-sourced cooking recipes website, this is a personal project but feel free to fork it and edit any code to your needs just keep it open source as the LICENSE implies.

Development setup

pip install -r requirements.txt
python3.9 main.py

Put the recipes.sqlite3 in the project folder and then change

app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///[db-name].sqlite3"

in the __init__.py file line 6

Images: https://anonfiles.com/UfzeydXet9/recipes-imgs_zip

Planned Features

  • Cleaning up the database

Release History

  • 0.0.2

    • Added categories
  • 0.0.1

    • initial release

Meta

Anas Arbaoui – @Anarbbb[email protected]

Distributed under the GPL-3.0 license. See LICENSE for more information.

https://github.com/Anarbb/

Contributing

  1. Fork it (https://github.com/Anarbb/LibreRecipes/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Copyright

Copyright (c) 2021 Anas Arbaoui

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Comments
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /project/static/images/logo-white.svg | 4.46kb | 3.06kb | 31.44% | | /project/static/images/icons/vegan.png | 2.51kb | 2.06kb | 17.83% | | /project/static/images/icons/milk.png | 1.88kb | 1.58kb | 16.04% | | /project/static/images/icons/soy.png | 2.35kb | 1.99kb | 15.06% | | /project/static/images/icons/peanuts.png | 2.33kb | 1.98kb | 15.02% | | /project/static/images/icons/chili.png | 2.29kb | 1.95kb | 15.01% | | /project/static/images/icons/fish.png | 2.04kb | 1.74kb | 14.69% | | /project/static/images/icons/organic.png | 2.33kb | 2.00kb | 13.88% | | /project/static/images/icons/steak.png | 2.29kb | 1.97kb | 13.59% | | /project/static/images/icons/tomato.png | 2.29kb | 1.99kb | 13.11% | | /project/static/images/icons/leaf.png | 2.05kb | 1.79kb | 13.08% | | /project/static/images/icons/wine.png | 1.71kb | 1.52kb | 11.45% | | /project/static/images/favicon/favicon.png | 46.04kb | 41.84kb | 9.12% | | /project/static/fonts/fontawesome-webfont.svg | 433.96kb | 425.36kb | 1.98% | | /project/static/images/kitchen-banner.jpg | 775.09kb | 772.91kb | 0.28% | | | | | | | Total : | 1,283.62kb | 1,263.74kb | 1.55% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 1
  • Searching with no text causes url not found

    Searching with no text causes url not found

    Clicking the search button with no text in the search box will cause a URL Not Found Error.

    Also I would recommend adding a button or some way to get back to the home page. On the recipes page, the "Go to back to recipes." link isn't working. And when on a search page there is no way back to the home page.

    opened by niklasbaumgardner 1
  • App start shouldn't have debug on production

    App start shouldn't have debug on production

    Hi. You should remove that debug=True from the app call because the app is in production. Refer to this document from the Flask documentation. https://github.com/Anarbb/LibreRecipes/blob/0c07878d154011e593d1351f849ceca87a2032d4/main.py#L5

    opened by JoseDeFreitas 1
  • Certain images are not loaded

    Certain images are not loaded

    When randomly checking through different pages on the home page there seem to be some issues with redirects:

    image

    Here you seem to have some issues with redirects (likely not caused by you)

    Additional note - I think you should at least provide a link to where the recipes come from?

    opened by Cnidarias 1
  • Upgrade CodeSee workflow to version 2

    Upgrade CodeSee workflow to version 2

    CodeSee is a code visibility platform.

    This change updates the CodeSee workflow file to the latest version for security, maintenance, and support improvements (see changelog below).

    That workflow file:

    • runs CodeSee's code analysis on every PR push and merge
    • uploads that analysis to CodeSee.
    • It does not transmit your code.

    The code analysis is used to generate maps and insights about this codebase.

    CodeSee workflow changelog:

    • Improved security: Updates permission to be read-only.
    • Improved future maintenance: Replaces the body of the workflow with a single github action: codesee-action. This makes it significantly easier for CodeSee to introduce future improvements and fixes without requiring another PR like this.
    • Improved Python support: The action now properly supports Python 3.11, and will continue to support new Python versions as they are released.
    opened by codesee-maps[bot] 1
  • Data model needs normalization and relational integrity.

    Data model needs normalization and relational integrity.

    ingredients = db.Column("ingredients", db.Text)
    

    If you want a normalized database then Ingredients should be in a different table/tables.

    categories = db.Column("categories", db.Text)
    

    The categories most definitely should have an m-to-n relation with the recipes.

    rating = db.Column("rating", db.Integer)
    

    Who is rating the recipe and how? Shouldn't the rating be tied to the person rating it? And if so, you need to have a mapping table that contains user_id, recipe_id and rating.

    image = db.Column("image", db.Text)
    

    There can be only 1 image per recipe?

    class Categories(db.Model):

    What is this table doing? And why is there no relational linking between this and the Ingredients table?

    opened by metaperl 0
  • Categories

    Categories

    The categories are rather hard to browse as they are in a really small font - there also seems to be some issue with certain names

    image

    I think in this case it should be one category but the rendering issue is also there for other categories

    opened by Cnidarias 0
Owner
An upcoming Python Full-Stack Web developer, currently self taught and learning
null
Density is a open-sourced multi-purpose tool for ROBLOX with some cool

Density is a open-sourced multi-purpose tool for ROBLOX with some cool

ssl 5 Jul 16, 2022
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

Boltons boltons should be builtins. Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously mis

Mahmoud Hashemi 6k Jan 6, 2023
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

Boltons boltons should be builtins. Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously mis

Mahmoud Hashemi 5.4k Feb 20, 2021
Mommas-cookbook - A Repository About Mom's Recipes

Mommas Cookbook A Repository for Mom's Recipes Contents bacalhau à Gomes de Sá Beef-Rendang bacalhau à Gomes de Sá, recommended by @s0undt3ch One of t

null 1 Jan 8, 2022
Opensource Desktop application for kenobi.

Kenobi-Server WIP Opensource desktop application for Kenobi. Download the apple watch app to get started. What is this repo? It's repo for the opensou

Aayush 9 Oct 8, 2022
An unofficial opensource Pokemon cursor theme for Windows and Linux.

pokemon-cursor An unofficial opensource Pokemon cursor theme for Windows and Linux. Cursor Sizes 22 24 28 32 40 48 56 64 72 80 88 96 Colors Quick inst

Kaiz Khatri 72 Dec 26, 2022
Code for Crowd counting via unsupervised cross-domain feature adaptation.

CDFA-pytorch Code for Unsupervised crowd counting via cross-domain feature adaptation. Pre-trained models Google Drive Baidu Cloud : t4qc Environment

Guanchen Ding 6 Dec 11, 2022
Checks for Vaccine Availability at your district and notifies you using E-mail, subscribe to our website.

Vaccine Availability Notifier Project Description Checks for Vaccine Availability at your district and notifies you using E-mail every 10 mins. Kindly

Farhan Hai Khan 19 Jun 3, 2021
Find the remote website version based on a git repository

versionshaker Versionshaker is a tool to find a remote website version based on a git repository This tool will help you to find the website version o

Orange Cyberdefense 110 Oct 23, 2022
A free website that keeps the people informed about housing and evictions.

Eviction Tracker Currently helping verify detainer warrant data for middle Tennessee - via Middle TN DSA - Red Door Collective Features Presents data

Red Door Collective 7 Dec 14, 2022
A website to collect vintage 4 tracks cassette recorders.

Vintage 4tk cassette recorders A website to collect vintage 4 tracks cassette recorders. Local development setup Copy and customize Django settings (e

null 1 May 1, 2022
Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance.

Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance. We have developed the system such that, it will automatically parse data onto the database from excel file, which will in return reduce time consumption of analysis of data.

VIJETA CHAVHAN 3 Nov 8, 2022
Tool to automate the enumeration of a website (CTF)

had4ctf Tool to automate the enumeration of a website (CTF) DISCLAIMER: THE TOOL HAS BEEN DEVELOPED SOLELY FOR EDUCATIONAL PURPOSE ,I WILL NOT BE LIAB

Had 2 Oct 24, 2021
Bring A Trailer(BAT) is a popular online auction website for enthusiast cars. This traverse auction results and saves them as CSV

BaT Data Grabber Bring A Trailer(BAT) is a popular online auction website for enthusiast cars. This traverse auction results and saves them as CSV Bri

Elliot Weil 2 Oct 31, 2021
WriteAIr is a website which allows users to stream their writing.

WriteAIr is a website which allows users to stream their writing. It uses HSV masking to detect a pen which the user writes with. Plus, users can select a wide range of options through hand gestures! The notes created can then be saved as images and uploaded on the server.

Atharva Patil 1 Nov 1, 2021
Youtube Channel Website

Videos-By-Sanjeevi Youtube Channel Website YouTube Channel Website Features: Free Hosting using GitHub Pages and open-source code base in GitHub. It c

Sanjeevi Subramani 5 Mar 26, 2022
This is the accompanying repository for the Bloomberg Global Coal Countdown website.

This is the accompanying repository for the Bloomberg Global Coal Countdown (BGCC) website. Data Sources Dashboard Data Schema and Validation License

null 7 Jun 1, 2022
Chess bot can play automatically as white or black on lichess.com, chess.com and any website using drag and drop to move pieces

Chessbot "Why create another chessbot ?" The explanation is simple : I did not find a free bot I liked online : all the bots I saw on internet are par

Dhimas Bagus Prayoga 2 Nov 11, 2021
Doom o’clock is a website/project that features a countdown of “when will the earth end” and a greenhouse gas effect emission prediction that’s predicted

Doom o’clock is a website/project that features a countdown of “when will the earth end” and a greenhouse gas effect emission prediction that’s predicted

shironeko(Hazel) 4 Jan 1, 2022