{"id":13476383,"url":"https://github.com/cfenollosa/bashblog","last_synced_at":"2026-10-19T10:19:31.687Z","repository":{"id":7055621,"uuid":"8337208","full_name":"cfenollosa/bashblog","owner":"cfenollosa","description":"A single Bash script to create blogs. Download, run, write, done!","archived":false,"fork":false,"pushed_at":"2026-07-09T14:09:35.000Z","size":788,"stargazers_count":1933,"open_issues_count":35,"forks_count":240,"subscribers_count":72,"default_branch":"master","last_synced_at":"2026-10-04T07:51:08.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfenollosa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-02-21T14:53:49.000Z","updated_at":"2026-09-29T11:13:59.000Z","dependencies_parsed_at":"2024-01-03T04:12:35.358Z","dependency_job_id":"43d28a71-bbaa-4a45-96a0-04f83cf6bd9c","html_url":"https://github.com/cfenollosa/bashblog","commit_stats":{"total_commits":237,"total_committers":25,"mean_commits":9.48,"dds":0.4641350210970464,"last_synced_commit":"c3d4cc1d905560ecfefce911c319469f7a7ff8a8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfenollosa/bashblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfenollosa%2Fbashblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfenollosa%2Fbashblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfenollosa%2Fbashblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfenollosa%2Fbashblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfenollosa","download_url":"https://codeload.github.com/cfenollosa/bashblog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfenollosa%2Fbashblog/sbom","scorecard":{"id":271887,"data":{"date":"2025-08-11","repo":{"name":"github.com/cfenollosa/bashblog","commit":"c3d4cc1d905560ecfefce911c319469f7a7ff8a8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T13:36:24.383Z","repository_id":7055621,"created_at":"2025-08-17T13:36:24.384Z","updated_at":"2025-08-17T13:36:24.384Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38354761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T16:01:29.672Z","updated_at":"2026-10-19T10:19:31.681Z","avatar_url":"https://github.com/cfenollosa.png","language":"Shell","funding_links":[],"categories":["Shell","others","Publishing","Frameworks by Language","Uncategorized","Applications"],"sub_categories":["Markup","Other Languages","Uncategorized","Directory Navigation"],"readme":"bashblog\n========\n\nA single Bash script to create blogs. \n\nI created it because I wanted a very, very simple way to post entries to a blog by using a public folder on my server, without any special requirements and dependencies. Works on GNU/Linux, OSX and BSD.\n\n*How simple? Just type `./bb.sh post` and start writing your blogpost.*\n\n[![asciinema](https://asciinema.org/a/4nr44km9ipow4s7u2w2eabeik.png)](https://asciinema.org/a/4nr44km9ipow4s7u2w2eabeik)\n\nYou can see a sample here: [read the initial blog post](https://web.archive.org/web/20130520204024/http://mmb.pcb.ub.es/~carlesfe/blog/creating-a-simple-blog-system-with-a-500-line-bash-script.html). That page was 100% generated using bashblog, no additional tweaking.\n\n[![demo](https://raw.githubusercontent.com/cfenollosa/bashblog/gh-pages/images/demo_thumb.png)](https://raw.githubusercontent.com/cfenollosa/bashblog/gh-pages/images/demo.png)\n\nCheck out [other bashblog users](https://www.google.com/search?q=%22Generated+with+bashblog,+a+single+bash+script+to+easily+create+blogs+like+this+one%22)\n\n\nUsage\n-----\n\nDownload the code and copy bb.sh into a public folder (for example, `$HOME/public_html/blog`) and run\n\n    ./bb.sh\n\nThis will show the available commands. If the file is not executable, type `chmod +x bb.sh` and retry.\n\n**Before creating your first post, you may want to configure the blog settings (title, author, etc).\nRead the Configuration section below for more information**\n\nTo create your first post, just run:\n\n    ./bb.sh post\n    \nIt will try to use Markdown, if installed. To force HTML:\n\n    ./bb.sh post -html\n    \nThe script will handle the rest.\n\nWhen you're done, access the public URL for that folder  (e.g. `http://server.com/~username/blog`) \nand you should see the index file and a new page for that post!\n\n\nHow to...\n---------\n\nPlease [read the wiki](https://github.com/cfenollosa/bashblog/wiki) to learn how to use the advanced features of Bashblog, such as headers and footers, static pages, and more.\n\n\nFeatures\n--------\n\n- Ultra simple usage: Just type a post with your favorite editor and the script does the rest. No templating.\n- No installation required. Download `bb.sh` and start blogging.\n- Zero dependencies. It runs just on base utils (`date`, `basename`, `grep`, `sed`, `head`, etc)\n- GNU/Linux, BSD and OSX compatible out of the box, no need for GNU `coreutils` on a Mac.\n  It does some magic to autodetect which command switches it needs to run depending on your system.\n- All content is static. You only need shell access to a machine with a public web folder.\n  *Tip: advanced users could mount a remote public folder via `ftpfs` and run this script locally*\n- Allows drafts, includes a simple but clean stylesheet, generates the RSS file automatically.\n- Support for tags/categories\n- Support for Markdown, Disqus comments, Twitter, Feedburner, Google Analytics.\n- Everything stored in a single ~1k lines bash script, how cool is that?! ;) \n\n\nConfiguration\n-------------\n\nConfiguration is not required for a test drive, but if you plan on running your blog with bashblog, you will\nwant to change the default titles, author names, etc, to match your own.\n\nThere are two ways to configure the blog strings:\n\n- Edit `bb.sh` and modify the variables in the `global_variables()` function\n- Create a `.config` file with your configuration values -- useful if you don't want to touch the script and be able to update it regularly with git\n\nThe software will load the values in the script first, then overwrite them with the values in the `.config` file.\nThis means that you don't need to define all variables in the config file, only those which you need to override\nfrom the defaults.\n\nThe format of the `.config` file is just one `variablename=\"value\"` per line, just like in the `global_variables()`\nfunction. **Please remember:** quote the values, do not declare a variable with the dollar sign, do not use \nspaces around the equal sign.\n\nbashblog uses the `$EDITOR` environment value to open the text editor.\n\n\nDetailed features\n-----------------\n\n- A simple but nice and readable design, with nothing but the blog posts\n- **NEW on 2.0** Markdown support via a third-party library.  \n  The easiest method is to download\n  Gruber's [Markdown.pl](http://daringfireball.net/projects/markdown/)\n- Post preview\n- Save posts as drafts and resume editing later\n- HTML page for each post, using its title as the URL\n- Configurable number of posts on the front page\n- Automatic generation of an RSS file, feedburner support\n- Additional page containing an index of all posts\n- Automatically generates pages for each tag\n- Rebuild all files while keeping the original data\n- Comments delegated to Twitter, with additional Disqus support\n- An option for cookieless Twitter sharing, to comply with the \n[EU cookie law](https://github.com/cfenollosa/eu-cookie-law)\n- Google Analytics code support\n- Contains its own CSS so that everything is reasonably styled by default\n- Headers, footers, and in general everything that a well-structured html file needs\n- Support to add extra content on top of every page (e.g. banners, images, etc)\n- xhtml validation, CSS validation, RSS validation by the w3c\n- Automatic backup of the site every time you post (stored as `.backup.tar.gz`)\n\nRead the Changelog section for more updates or [check out the news on my blog](http://cfenollosa.com/blog/tag_bashblog.html)\n\n\nContributing\n------------\n\n**Important: I am not actively maintaining bashblog as of 2026-07-09. It still works (that was the point all along!) I will fix bugs I find myself, but there are no features on the roadmap. Feel free to fork the project and adapt it to your needs.**\n\nBashblog started at 500 SLOC and it now has hit the 1000 SLOC barrier. \nIf we want to keep the code minimal and understandable, we need to make the difficult effort to restrain ourselves \nfrom adding too many features.\n\nAll bugfixes are welcome, but brand new features need to be strongly justified to get into the main tree. \nEvery new request will be honestly and civilly discussed on the comments. \nAs a guideline, pull requests should:\n\n- Fix a use case for some people (e.g. internationalization)\n- Add a use case which is arguably very common (e.g. disqus integration for comments)\n- Be very small when possible (a couple lines of code)\n- Don't require a significant rewrite of the code (Don't break `create_html_file()` or `write_entry()`, etc)\n- It must work on Linux, BSD and Mac. Beware of using GNU coreutils with non-POSIX flags (i.e. `date` or `grep`)\n- Follow the UNIX philosophy: do one thing and do it well, rely on third party software for external features, etc\n- **Always** keep backwards compatibility when using the default configuration\n\n\nChangelog\n---------\n- 2.10     Added `global_twitter_card_image`\n- 2.9      Added `body_begin_file_index`\n- 2.8      Bugfixes\u003cbr/\u003e\n           Slavic language support thanks to Tomasz Jadowski\u003cbr/\u003e\n           Removed the now defunct Twitter JSON API share count\u003cbr/\u003e\n           Support for static, not managed by bashblog html files\u003cbr/\u003e\n- 2.7      Store post date on a comment in the html file (#96).\u003cbr/\u003e\n           On rebuild, the post date will be synchronised between comment date and file date, with precedence for comment date.\n- 2.6      Support for multiple authors, use a different `.config` for each one\n- 2.5      Massive code cleanup by Martijn Dekker\u003cbr/\u003e\n           'tags' command\u003cbr/\u003e\n           The word 'posts' in the tag list (both website and command) now has a singular form, check out `template_tags_posts_singular`\n- 2.4      Added Twitter summaries metadata for posts (#36)\n- 2.3.3    Removed big comment header.\u003cbr/\u003e\n           Added option to display tags for cut articles on index pages (#61)\u003cbr/\u003e\n           Cleaned up \"all posts\" page (#57)\n- 2.3.2    Option to use topsy instead of twitter for references\n- 2.3.1    Cookieless Twitter option\n- 2.3      Intelligent tag rebuilding and Markdown by default\n- 2.2      Flexible post title -\u003e filename conversion\n- 2.1      Support for tags/categories.\u003cbr/\u003e\n           'delete' command\n- 2.0.3    Support for other analytics code, via external file\n- 2.0.2    Fixed bug when $body_begin_file was empty.\u003cbr/\u003e\n           Added extra line in the footer linking to the github project\n- 2.0.1    Allow personalized header/footer files\n- 2.0      Added Markdown support.\u003cbr/\u003e\n           Fully support BSD date\n- 1.6.4    Fixed bug in localized dates\n- 1.6.3    Now supporting BSD date\n- 1.6.2    Simplified some functions and variables to avoid duplicated information\n- 1.6.1    'date' fix when hours are 1 digit.\n- 1.6.0    Disqus comments. External configuration file. Check of 'date' command version.\n- 1.5.1    Misc bugfixes and parameter checks\n- 1.5      Đurađ Radojičić (djura-san) refactored some code and added flexibility and i18n\n- 1.4.2    Now issues are handled at Github\n- 1.4.1    Some code refactoring\n- 1.4      Using twitter for comments, improved 'rebuild' command\n- 1.3      'edit' command\n- 1.2.2    Feedburner support\n- 1.2.1    Fixed the timestamps bug\n- 1.2      'list' command\n- 1.1      Draft and preview support\n- 1.0      Read http://is.gd/Bkdoru\n\n\nLicense\n-------\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfenollosa%2Fbashblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfenollosa%2Fbashblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfenollosa%2Fbashblog/lists"}