/munch-tina

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Munch Recipe Database

TODO

Scaffold out ETL pipeline from TinaETL Work on styling and translations

Ideas

assign a health level ranking for each food and bioavailability based on the ingredients and method of preparation

sort by type of food

filter out ingredients you don't like

mission: solve the problem of "what are you cooking tonight?"

beef tongue

napa with beef tallow

make european beef stew

top 20 recipes if can't find the english translation then find a different source

2x green beans 1 part flour

ETL Process

python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
./process_all.sh <youtube_url>

Prerequisites

  • Ollama and openhermes
  • brew install yt-dlp
  • pip install --user youtube_transcript_api

Development

After updating schema to generate typescript types npx tinacms dev

Filter on a category https://tina.io/docs/graphql/queries/advanced/filter-documents/

https://tina.io/docs/features/data-fetching/

Add document directly through API https://tina.io/docs/graphql/queries/add-document/

Fooocus image generation prompt for munch

  • Fat happy panda eating noodles
  • MRE Manga, Adorable Kawaii, Simple Vector Art, Sticker Designs

This Next.js starter is powered by TinaCMS for you and your team to visually live edit the structured content of your website. ✨

The content is managed through Markdown and JSON files stored in your GitHub repository, and queried through Tina GraphQL API.

Features

  • Tina Headless CMS for authentication, content modeling, visual editing and team management.
  • Vercel deployment to visually edit your site from the /admin route.
  • Local development workflow from the filesystem with a local GraqhQL server.

Requirements

Local Development

Install the project's dependencies:

yarn install

Run the project locally:

yarn dev

Local URLs

Building the Starter Locally (Using the hosted content API)

Replace the .env.example, with .env

NEXT_PUBLIC_TINA_CLIENT_ID=<get this from the project you create at app.tina.io>
TINA_TOKEN=<get this from the project you create at app.tina.io>
NEXT_PUBLIC_TINA_BRANCH=<Specify the branch with Tina configured>

Build the project:

yarn build

Getting Help

To get help with any TinaCMS challenges you may have:

Development tips

Visual Studio Code GraphQL extension

Install the GraphQL extension to benefit from type auto-completion.

Typescript

A good way to ensure your components match the shape of your data is to leverage the auto-generated TypeScript types. These are rebuilt when your tina config changes.

LICENSE

Licensed under the Apache 2.0 license.