{"id":18085036,"url":"https://github.com/coderofsalvation/bashdown","last_synced_at":"2025-04-06T00:14:05.181Z","repository":{"id":12162430,"uuid":"14758481","full_name":"coderofsalvation/bashdown","owner":"coderofsalvation","description":"markdown to html converter with bash as templating language, written in 100% pure bash, macgyver-style documentation generator","archived":false,"fork":false,"pushed_at":"2020-05-28T18:17:22.000Z","size":31,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T06:23:03.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderofsalvation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://gumroad.com/l/hGYGh"}},"created_at":"2013-11-27T20:38:35.000Z","updated_at":"2024-06-07T07:39:12.000Z","dependencies_parsed_at":"2022-09-16T11:52:53.739Z","dependency_job_id":null,"html_url":"https://github.com/coderofsalvation/bashdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderofsalvation","download_url":"https://codeload.github.com/coderofsalvation/bashdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415976,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T15:09:09.134Z","updated_at":"2025-04-06T00:14:05.150Z","avatar_url":"https://github.com/coderofsalvation.png","language":"HTML","funding_links":["https://gumroad.com/l/hGYGh"],"categories":[],"sub_categories":[],"readme":"bashdown\n========\n\nmarkdown to html converter with bash as templating language, written in 100% pure bash, macgyver-style documentation generator\n\n### Usage\n\n    $ cat foo.md | bashdown\n    (produces markdown with evaluated values)\n\n    $ cat foo.md | bashdown --html\n    (evaluates template and produces html)\n\nThat will turn [this](https://raw.github.com/coderofsalvation/bashdown/master/example/example.md) into :\n\n\u003cimg src=\"https://raw.github.com/coderofsalvation/bashdown/master/example/example.png\" style=\"border:1px solid #CCC\"/\u003e\n\n### why ###\n\n* to quickly write documentation\n* portable\n* unlimited possibilities\n* markdown is nice, but has no template engine\n* bash is a fullfledged template engine already\n* everybody uses bash\n* its installed everywhere\n\n### requirements ###\n\n* BASH!\n* bashfu ninjaskills (its worth the investment..really)\n\n### Installation ###\n\n    mkdir ~/bin \n    cd /tmp\n    git clone https://github.com/coderofsalvation/bashdown.git\n    git clone https://github.com/chadbraunduin/markdown.bash\n    cp markdown.bash/markdown.sh ~/bin/markdown\n    cp bashdown/bashdown ~/bin/.\n\n### Custom Markdown Chain\n\nThe '--html' makes usage of github's markdown processor, but you can use your own.\nIn the 'example' directory you can see a simple wrapper which turns an markdown document into a nice styled html-document like so:\n  \n    ./mybashdown example.md \u003e example.html\n\nsee the output [here](https://raw.githubusercontent.com/coderofsalvation/bashdown/master/example/example.html)\n\n### Note ###\n\nPut this in ~/.profile so you always have handson-access to your bashscripts in ~/bin:\n\n     PATH=\"$HOME/bin:$PATH\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Fbashdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderofsalvation%2Fbashdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Fbashdown/lists"}