{"id":20559823,"url":"https://github.com/cxw42/unbelievable","last_synced_at":"2026-06-01T04:31:48.036Z","repository":{"id":56834714,"uuid":"236269692","full_name":"cxw42/unbelievable","owner":"cxw42","description":"The power of Dancer2 in a static site generator!  Yes, yet another SSG --- can you believe it?  ","archived":false,"fork":false,"pushed_at":"2020-02-23T21:01:52.000Z","size":126,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T07:36:30.986Z","etag":null,"topics":["perl","perl5","static-site-generator","wip"],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/App::unbelievable","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxw42.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-26T05:08:35.000Z","updated_at":"2020-06-26T03:41:13.000Z","dependencies_parsed_at":"2022-09-02T03:40:40.096Z","dependency_job_id":null,"html_url":"https://github.com/cxw42/unbelievable","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cxw42/unbelievable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Funbelievable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Funbelievable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Funbelievable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Funbelievable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxw42","download_url":"https://codeload.github.com/cxw42/unbelievable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxw42%2Funbelievable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33760645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":["perl","perl5","static-site-generator","wip"],"created_at":"2024-11-16T03:52:19.227Z","updated_at":"2026-06-01T04:31:48.016Z","avatar_url":"https://github.com/cxw42.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nApp::unbelievable - Dancer2 static site generator\n\n# SYNOPSIS\n\nIn your Dancer2 app:\n\n    use App::unbelievable;  # Pulls in Dancer2\n    # your routes here\n    unbelievable;           # At EOF, fills in the rest of the routes.\n\nThen:\n\n    $ unbelievable build    # Make the HTML\n    $ unbelievable serve    # Run a local development server\n\nApp::unbelievable makes a Dancer2 application into a static site generator.\nApp::unbelievable adds routes for `/` and `/**` that will render Markdown\nfiles in `content/`.  The [unbelievable](https://metacpan.org/pod/unbelievable) script generates static HTML\nand other assets into `_built/`.\n\n# FEATURES\n\n## Markdown rendering\n\nAll non-hidden files in `content/` are rendered as Markdown files.\nHidden files are those that start with a `.` (the Unix convention).\n\n## Fenced code blocks\n\nFenced code blocks are syntax-highlighted using\n[Syntax::Highlight::Engine::Kate](https://metacpan.org/pod/Syntax::Highlight::Engine::Kate).  Language names are the lowercased\nversions of the module suffixes in\n[Syntax::Highlight::Engine::Kate::All](https://metacpan.org/source/MANWAR/Syntax-Highlight-Engine-Kate-0.14/lib/Syntax/Highlight/Engine/Kate/All.pm).\n\n## Shortcodes\n\nIn Markdown inputs, shortcode tags of the form:\n\n    {{\u003c KEY [args] \u003e}}\n\nare replaced with the Dancer2 template `shortcodes/KEY` (e.g.,\n`views/shortcodes/foo.tt`).  Arguments are passed to the template as array\n`_`.  Each individual argument is also passed to the template as variable\n`_n`, `n`=0, 1, ... .\n\nEach argument can be a sequence of non-space characters (e.g., `foo`), or\na quoted string.  Quoted strings can be delimited by `'` or `\"`, and can\ninclude embedded quotes escaped using a backslash (e.g., `'cxw\\'s SSG'`).\n\n## Templates\n\nUse whatever you want in your routes!  Use regular Dancer2 templating.\n\n## Static files\n\nEverything in `public/` is available under `/`, just as in Dancer2.\n\n# WHY?\n\nYet another site generator --- can you believe it?  And now you know where\nthe package name comes from ;) .\n\nThis package's roadmap is feature parity with [Hugo](https://gohugo.io/).\n\nMy motivation for writing unbelievable was two-fold:\n\n1. Perl.com is currently using Hugo, which is not written in Perl!\n2. \"every self-respecting programmer has written at least one static site\ngenerator ... since writing a basic one is easy and often tends to be easier\nthan learning an existing one.\" --- SHLOMIF\n([here](http://web-cpan.shlomifish.org/latemp/)).  :D\n\n# FUNCTIONS\n\n## import\n\nImports [Dancer2](https://metacpan.org/pod/Dancer2), among others, into the caller's namespace.\n\n## unbelievable\n\nMake default routes to render Markdown files in `content/` into HTML.\nUsage: `unbelievable;`.  Returns a truthy value, so can be used as the\nlast line in a module.\n\n# THANKS\n\n- Thanks to [Getopt::Long::Subcommand](https://metacpan.org/pod/Getopt::Long::Subcommand) and [Syntax::Highlight::Engine::Kate](https://metacpan.org/pod/Syntax::Highlight::Engine::Kate) ---\nI used some code from the perldoc of those modules.\n- Thanks to [App::Wallflower](https://metacpan.org/pod/App::Wallflower), [Dancer2](https://metacpan.org/pod/Dancer2), and\n[Syntax::Highlight::Engine::Kate](https://metacpan.org/pod/Syntax::Highlight::Engine::Kate) for doing the heavy lifting!\n\n# LICENSE\n\nCopyright (C) 2020 Chris White.\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# AUTHOR\n\nChris White \u003ccxwembedded@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxw42%2Funbelievable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxw42%2Funbelievable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxw42%2Funbelievable/lists"}