Skip to content

Generate a static recipe website based on a simple plain text format.

License

Notifications You must be signed in to change notification settings

skubcat/carapace.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A shell script to generate the vegetarian/vegan static HTML website bugman.cooking.


Have a recipe? Send a pull request. The file must be in plain text, and follow this format.

Recipe Name (1st line will *always* be recipe name)
(tags)
(one blank line)
Ingredients as a list seperated by newlines.
x
x
x
(one blank line)
Instructions as a list seperated by newlines.
y
y
y
y

This would roughly output:

<!DOCTYPE html>
<html lang ='en'>
<head>
  <meta charset='UTF-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>Recipe Name</title>
  <link rel='stylesheet' href='./styles.css'>
  <meta name='description' content='Page description'>
</head>
<main>
  <article>
    <h1>Recipe Name</h1>
    <h2>Ingredients</h2>
    <ul>
      <li>Ingredients as a list seperated by newlines</li>
      <li>x</li>
      <li>x</li>
      <li>x</li>
     </ul>
     <h2>Preperation</h2>
     <ul>
      <li>Instructions as a list seperated by newlines.</li>
      <li>y</li>
      <li>y</li>
      <li>y</li>
     </ul>
    </article>
  </main>
  </article>

About

Generate a static recipe website based on a simple plain text format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published