• Stars
    star
    119
  • Rank 296,235 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A super minimal recipe website built on Markdown

RECIPE BOOK

A super minimal recipe website – great for keeping track of family recipes, mods to ones you find online, or have created yourself!

See it in action here: jeffreythompson.org/recipes

Features:

  • Recipes in a simple Markdown format, just dump them in a folder and upload
  • List of recipes will auto-populate with quick alpha links at the top
  • Each recipe is displayed in a nice, clean format designed for use while cooking or at the grocery store – no extra 💩 or ads
  • Auto-generated links to a Google image search for that dish, recipes on Serious Eats and Google, and for restaurants on Yelp (in case you burn something and need takeout fast)
  • To save your place while scrolling up around on the page, click the step you're on to highlight it; click it again to remove the highlight, or use the left/right arrow keys to advance
  • Easily customized and code is (mostly) really well annotated 🙃

MORE INFO

RECIPE FORMAT

In order to show up properly, your recipe's Markdown file should be named with dashes in place of spaces (ex: rice-pilaf.md or saag-paneer.md). This will be used to populate your list of recipes on the main page.

Use tecipe-template.md and/or follow this format:

# TITLE
Optional subheader

## info  
* About XXX minutes  
* XXX servings  

## ingredients
* 

## steps  
1. 

## notes  
* 

## based on  
* url to where the recipe came from

For example:

# Raspberry and Elderflower Gin and Tonic
A delicious light-red drink perfect for winter gatherings!

## ingredients
* 8 raspberries (frozen ok but should be thawed)  
* Fresh thyme (optional)  
* Gin  
* 1/2 lime  
* 1-2 tbsp St Germaine (or 1-2 tsp simple syrup)  

## steps
1. Muddle raspberries with 1.5 oz gin (and fresh thyme, if using)  
2. Add juice of half a lime  
3. Add 1-2 tbsp St Germaine (or 1-2 tsp simple syrup)  
4. Strain into glass, add ice cubes and top with tonic 

## notes
* Replace tonic with champagne for a *French 75* mashup   

## based on
* https://www.instagram.com/p/Bq3ckR8HIDE/

You can optionally include info about how long the recipe takes and how many servings it makes. Put this before the Ingredients list:

* Takes about 90 minutes  
* Enough for a large biryani or a full-sized curry

The Ingredients and Steps sections can be split with subheaders too:

1. Soak urad dal for 4 hours to overnight, drain  
2. Grind in blender until a smooth and thick paste (add a little water if necessary)  
3. Put in mixing bowl and whip with hands for 2-3 minutes until fluffy  
4. Add spices, herbs, and salt and whip again to combine  

To fry:
1. Heat oil over medium/medium-high heat  
2. Take a bowl of water, wet hands, and form small balls  
3. Slide into oil and cook, flipping often, until golden  
4. Drain on paper towels  

ADDING IMAGES

Thanks to a suggestion from @mpember, if you have a jpg image with the same filename as your recipe, it will automatically be added!

For example: aloo-matar.md should have an image called aloo-matar.jpg in the images folder.

You can also include other images in the recipe using Markdown's image syntax: ![alt text](url). You'll probably want to update the stylesheet to size them appropriately.

OTHER OPTIONS

The recipe.php file also includes some more options you can customize:

  • yelpLocation: the city/state where you're located to make Yelp searches easier! No need for fancy formatting, this will work fine: Minneapolis MN
  • helpUrls: dictionary with the label (text displayed) and url in template form. The string <name> will be replaced with your recipe's name
  • lookForHeroImage: on by default, but you can turn it off if you never intend to include hero images
  • autoUrlSections: list of sections in the recepe template where you want raw URLs (ex: www.instagram.com) to be turned into real links. Great for the Based On section but not so good if you want to include Markdown-formatted links in other sections
  • shortenUrls: turns a super-long url into just the main domain name (link will still work as normal, just less cluttered). Off by default but exists if you want it

SUGGESTIONS WELCOME

If you have suggestions for improving this project, please let me know! Either open an issue or send me an email.

More Repositories

1

DarkArduinoTheme

A dark theme for the Arduino IDE – no longer maintained :(
C++
827
star
2

PixelSorting

A set of experiments in pixel sorting using Processing
Processing
408
star
3

CollisionDetection

A book and examples on collision detection
JavaScript
406
star
4

ProcessingTeachingSketches

Teaching sketches created in Processing (and Java)
Processing
121
star
5

DarkProcessingTheme_3.0

A dark theme for Processing 3
81
star
6

CreativeProgramming1

An introductory course exploring code as a tool for creative making
JavaScript
67
star
7

CollisionDetectionFunctionsForProcessing

A set of simplified collision detection functions to Processing
Processing
59
star
8

CreativeProgramming2

An intermediate course in programming for the arts, focusing on zines, video, and live performance
JavaScript
57
star
9

Word2VecAndTsne

Scripts demo-ing how to train a Word2Vec model and reduce its vector space
Python
47
star
10

MaxMSP_TeachingSketches

Patches for teaching Max/MSP/Jitter
JavaScript
29
star
11

Pebble-Dataset

A machine learning dataset consisting of 5000 images of pebbles
19
star
12

DarkProcessingTheme_2.0

A dark theme for Processing 2.0
18
star
13

DesigningWithData

A course on data and design
JavaScript
16
star
14

PhysicalComputing

A course on art, electronics, and interactivity
13
star
15

Repo-As-Artwork

A list of artworks (and related projects) that are based in Github repos
11
star
16

ComputersOnLawAndOrder

Hardware/software and related files for a project commissioned by Rhizome.org (thanks!) gathering images of computers and computer use on the American television series "Law & Order".
Processing
11
star
17

DiehardCDROM

A re-creation of the original Diehard random number CD-ROM
C
10
star
18

MirrorTest

Teaching computers to recognize other computers, funded by Impakt.nl
Processing
10
star
19

MappingWirelessNetworks

Code, data, and (possibly) schematics for recording wireless network data around a city
Python
9
star
20

TCPDUMP

A month-long performance documenting every unique server from which my computer attempts to download a file.
Python
9
star
21

PythonTeachingExamples

Example scripts for learning Python
Python
9
star
22

EveryPossiblePhotograph

Source code for an installation that generates every possible photograph
Processing
8
star
23

TechnologyAndTheLandscape

A course exploring how technology has shaped the landscape and how we record it
Processing
7
star
24

TrainingOpenCV

A combination of tutorial and code (command line, Processing, and Python) for training OpenCV to detect objects
Processing
7
star
25

ChanceAndRandomness-OLD

A course exploring the creative potential of chance and randomness
Processing
6
star
26

TwitterBotTutorial

A fairly detailed tutorial on creating Twitter bots
Python
6
star
27

FM-Transmitter-Workshop

A workshop on building simple FM transmitters
5
star
28

EmptyApartments

Online curatorial project, made of 125k images of empty apartments
JavaScript
5
star
29

WebDesignExamples

Example files for teaching HTML, CSS, JavaScript, PHP, and other web technologies
CSS
5
star
30

ChanceAndRandomness

A one-day workshop and lecture on chance, randomness, entropy, and order in the arts • Transart Institute (May 2021) • Hartford Art School (Fall 2019)
Processing
5
star
31

InterestingThings

A running list of interesting projects, articles, and resources
4
star
32

NaNoGenMo

Experiments in algorithmically-generating a novel in a month
Python
4
star
33

RandomArtAssignmentBot

A Twitter bot that posts random art assignments
Python
4
star
34

PunchCardEncoding

FORTRAN punch-card encoding ported to Processing
Processing
4
star
35

InternetArchiveResidency

Working files and documentation for a residency with the Internet Archive, algorithmically-curating a series from the archive's collection
Python
4
star
36

PubJS

A simple, lightweight tool for embedding PDF publications
JavaScript
4
star
37

DarkProcessingTheme

A dark theme for the Processing IDE - a little easier on the eyes!
4
star
38

DesignResearchReadingList

A set of suggested examples of research in design, from project documentation to speculative ideas to writing about the process of design
3
star
39

Spaces

A conceptual art worm that changes the name of all your files and folders to whitespace
Python
3
star
40

DigitalFabrication

A course on digital fabrication for the arts
3
star
41

WhiteNoiseBoutique

An artwork/store for selling boutique white noise. Commisioned by Brighton Digital Festival.
Python
3
star
42

AnimatedGifWallpaper

Simple Java app to let you set animated GIFs as wallpaper (Mac only)
Processing
3
star
43

BotArtSchool

An art school run by bots (and an event for Abandon Normal Devices 2016)
Processing
2
star
44

Design2

Intermediate design course focusing on process, analog/digital, books, and screens
HTML
2
star
45

ParasiticComputer

A computer that feeds off of human body heat, commissioned by Digital Spring Festival
Processing
2
star
46

ArduinoTeachingSketches

Arduino
2
star
47

WouldYouRatherBot

A Twitter bot that asks random "would you rather" questions
Python
2
star
48

RedactionBot

Python
2
star
49

ClusterTumblrTheme

A decidedly effed-up Tumblr theme
2
star
50

EagleCAD_Tutorials

A set of tutorials for learning EagleCAD and circuit design
2
star
51

RandomChordBot

A Twitter bot that posts random guitar chords
Python
2
star
52

FAQBot

A bot that publishes randomized FAQs.
HTML
2
star
53

Design3

Advanced course focusing on long-form design research
2
star
54

VibrationInterface

A vibration interface for the Arduino; created with generous assistance from Harvestworks' Cultural Innovation Fund program
Arduino
2
star
55

OneMillionRandomDigits

Sculpture visualizing Rand Corp's "One Million Random Digits"
Processing
2
star
56

Interp

Code and related files for a commission from Turbulence.org
JavaScript
2
star
57

SpamNovel_NaNoGenMo2014

A novel generated using spam comments by 34,914 authors on my blog; created for NaNoGenMo 2014
Python
2
star
58

LasercutterMaterialsDatabase

A customizable site for lasercutter materials
JavaScript
1
star
59

GithubTutorial

Tutorial repo for CP2
Processing
1
star
60

ICPinStraightener

A tool for straightening the pins on integrated circuits
1
star
61

YouHaveBeenBlinded

A non-visual, haptic electronic game developed in collaboration with Alex Myers
Eagle
1
star
62

ViewSource

Files and resources for a workshop digging into the hidden texts of the web
1
star
63

EveryRadioStation

Installation of 95 FM radios, one for each station in the FM band
C++
1
star
64

CheckoutFormGenerator

Python script for generating checkout sheets and equipment hang tags
Python
1
star
65

HapticVibrationShield

Haptic vibration shield for Arduino: 4 vibration motors and the TI DRV2603 haptic driver IC
Prolog
1
star
66

GamesPlusPlusBadge

Electronic game badges created for Games++ (Nov 2013), created in collaboration with Alex Myers (www.alexmyers.info)
Arduino
1
star
67

SmartphoneTripodKickstand

A little kickstand for a cheap smartphone tripod mount
1
star
68

Cave

A low-res sonic game for tablet; created with generous assistance from Harvestworks' Cultural Innovation Fund program.
Processing
1
star
69

DungeonBot

I am a wanderer, trapped in an infinite dungeon.
Python
1
star
70

CatCapture

Move your body into the shape of a cat. Made for Games++ 2015.
Processing
1
star
71

iPhoneStethoscopeAttachment

An attachment for the iPhone 4/5 for recording from a stethoscope
1
star