2021-03-10 17:02:35 +00:00
# Based Cooking Website
2021-03-10 17:05:43 +00:00
[https://based.cooking ](https://based.cooking )
2021-03-10 17:09:07 +00:00
## To-do
- get many recipes
- make and take pictures of recipes
- decide on CSS/styling, something good-looking and readable, but nothing too complicated
- search function? See below
- keep it simple
2021-03-10 17:02:35 +00:00
## Rules for submission
2021-03-14 06:00:36 +00:00
- Recipes should start with a title, with a single `#` , *on the first line* . No
empty line at the top, not trailing line at the end. The file needs to be `\n`
terminated in linux-fashion (if you're on linux you don't need to care, it
should be automatic).
2021-03-12 18:10:58 +00:00
- Recipes should be `.md` files in the `src/` directory. Look at already
existing `.md` files for examples or see [example ](example.md ).
2021-03-15 06:04:31 +00:00
- File names should be the name of the dish with words separated by hyphens
2021-03-12 18:10:58 +00:00
(`-`). Not underscores, and definitely not spaces.
- Recipe must be based, i.e. good traditional and substantial food. Nothing
ironic, meme-tier hyper-sugary, meat-substitute, etc.
- Don't include salt and pepper and other ubiquitous things in the ingredients
list.
**If you fail to do these things, I will close your submission and you will have to resubmit. I am tired of having to fix more than 50% of submissions.**
2021-03-14 06:00:36 +00:00
### Tags
You can (and should) add tags at the end of your recipe. The syntax is:
```
;tags: tag1 tag2 tag3
```
The tag line should be a single line, at the end of the markdown file, preceded
by a blank line.
Add between 1 and 4 tags, **prioritize existing tags** . As a general guideline,
add the country from which the recipe originates if the recipe is representative
of said country, using the adjective form (eg. *mexican* , *italian* , etc). Tag
the main ingredient if it's something slightly special.
List of special, categorical tags to use if relevant:
- `basic` : for basic recipes that aren't meant to be stand alone but are supposed
to be incorporated in another recipe.
- `breakfast`
2021-03-15 06:04:31 +00:00
- `dessert`
2021-03-14 06:00:36 +00:00
- `drink`
- `quick` : for recipes that can be cooked in under ~20 minutes.
- `side` : side dishes such as mash, fries, etc.
- `snack`
- `spread`
2021-03-12 18:10:58 +00:00
### Images
2021-03-10 17:02:35 +00:00
2021-03-14 06:00:36 +00:00
Images are stored in `data/pix` .
2021-03-10 17:02:35 +00:00
Each recipe can have a title image at the top and perhaps
several instructional images as absolutely necessary.
Do not add stock images you found on the internet.
Take a good picture yourself of the actual dish created.
2021-03-11 13:37:08 +00:00
If you see a bad or substandard image, you may submit a better one.
2021-03-10 17:02:35 +00:00
2021-03-12 14:03:58 +00:00
Images should be in `.webp` format and with as small file size as possible.
2021-03-10 17:02:35 +00:00
If you submit an image for say, `chicken-parmesan.md` , it should be added as `pix/chicken-parmesan.webp` .
I will create smaller images from that which is seen on the page,
and upon being clicked, the user will see the full-size image.
If you would like to add additional directional images,
they should be numbered with two digits like: `pix/chicken-parmesan-01.webp` , etc.
## About the site
2021-03-14 06:00:36 +00:00
The front page, for now, will just be a list of recipes automatically generated
from the content of `src` .
2021-03-10 17:02:35 +00:00
As more articles are added, the site will be reorganized, categorized
or will implement server-side scripting or searches.
This is not necessary yet though.
I don't really want images of recipes on the mainpage yet.
I'll think about how best to do it to minimize bandwidth if possible.
## curl/Search function in the future
I eventually want a command-line/curl interface to this site.
Part of this would be an implicit search function.
So suppose someone wants a recipe with chicken, I'd like
`curl based.cooking/chicken` to return articles with that title.
If there is only one result, that page is opened.
Just something to think about.
Then people could make a simple two or three character alias to get a simple text recipe.
## License
This website and all its content is in the public domain.
By submitting text or images or anything else to this repository,
you waive any pretense of ownership to it,
although you are welcome and recommended to give yourself credit
2021-03-11 13:37:08 +00:00
at the bottom of a submitted page for you adding it
2021-03-10 17:02:35 +00:00
(including personal or donation links).