Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
/ recipebook Public archive

takes structured data out of recipe blog posts and puts them in convient cards. Less terrible name pending

Notifications You must be signed in to change notification settings

bees/recipebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archiving this repo because:

  1. The data cleaning necessary to make CRF++'s output consistently useful seemed like it would be suffering
  2. I found something that is close enough to what I wanted

RecipeBook

A simple application that extracts structured data (Json-LD or microdata) from recipe blogs and serves them with a consistent display devoid of SEO keyword-stuffing.

Core functionality is yet to be implemented. Ideally eventually you can just point it at your pinterest recipes board or give it RSS feeds of blogs you like and it will automatically ingest them and give you someting you can use while cooking.

Development

Backend

To start:

mix deps.get
# required right now unless you make changes to config/dev.exs, will enable 
# host-only development some day if someone actually wants it
docker-compose up -d 
mix ecto.setup
mix phx.server

Now you can visit localhost:4000/graphiql from your browser.

Schema Updates

If you update schemas, you'll need to regenerate the schema file consumed by the frontend.

mix absinthe.schema.json

Frontend(s)

Currently there are two frontends and they are as unfininished as the backend.

The Reason codebase is the one I'd like to move forward with (better type system, pattern matching, better styling DSL) but I'm running into issues getting graphql working on the latest version of bs-platform.

The Typescript codebase is the fallback.

Once I've settled on one I'll document development workflow in it properly.

Why not only use Phoenix?

Ideally I want this to be a PWA. I'm also far more comfortable writing UIs using React so this is also just laziness on my part.

About

takes structured data out of recipe blog posts and puts them in convient cards. Less terrible name pending

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published