{"id":18455729,"url":"https://github.com/memowe/dirdown","last_synced_at":"2025-04-22T17:14:10.460Z","repository":{"id":66939286,"uuid":"172111201","full_name":"memowe/dirdown","owner":"memowe","description":"Minimal file-system based CMS","archived":false,"fork":false,"pushed_at":"2019-04-08T11:43:27.000Z","size":99,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T14:57:17.318Z","etag":null,"topics":["cms","file-system","markdown","minimal","perl","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memowe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-22T17:58:38.000Z","updated_at":"2021-06-17T08:16:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"c31a389b-4136-4c1e-9c32-cca398796913","html_url":"https://github.com/memowe/dirdown","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Fdirdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Fdirdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Fdirdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Fdirdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memowe","download_url":"https://codeload.github.com/memowe/dirdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285719,"owners_count":21405298,"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":["cms","file-system","markdown","minimal","perl","static-site-generator"],"created_at":"2024-11-06T08:08:51.758Z","updated_at":"2025-04-22T17:14:10.454Z","avatar_url":"https://github.com/memowe.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dirdown\n=======\n\nMinimal file-system based CMS\n\n[![Travis CI tests](https://travis-ci.org/memowe/dirdown.svg?branch=master)](https://travis-ci.org/memowe/dirdown)\n\n## Generate a new dirdown web application\n\n1. Invoke the generator\n    ```bash\n    $ mojo generate dirdown_app\n    ```\n2. Edit the markdown content in `dirdown_content`.\n3. Start the server via\n    ```bash\n    $ morbo dirdown\n    Server available at http://127.0.0.1:3000\n    ```\n4. Dump the content as static files via\n    ```bash\n    $ ./dirdown dump\n    ```\n\n## Use it as a plugin for your own Mojolicious web apps:\n\n```perl\n#!/usr/bin/env perl\nuse Mojolicious::Lite;\n\n# Load the dirdown CMS under /content\nplugin Dirdown =\u003e {\n    prefix  =\u003e '/content',\n    dir     =\u003e app-\u003ehome-\u003erel_file('dirdown_content'),\n};\n\nget '/' =\u003e {text =\u003e 'Hello world!'};\n\napp-\u003estart;\n```\n\nPrerequisites\n-------------\n\n- **[Perl 5.20][perl]**\n\n| Module                                    | Version   |\n|-------------------------------------------|-----------|\n| [Mojolicious][mojo]                       |  8.12     |\n| [Text::Markdown][tmd]                     |  1.000031 |\n| [YAML::XS][yml]                           |  0.76     |\n| *[Test::Exception][teex] (Tests only)*    | *0.43*    |\n\n[perl]: https://www.perl.org/get.html\n[mojo]: https://metacpan.org/pod/Mojolicious\n[tmd]: https://metacpan.org/pod/Text::Markdown\n[yml]: https://metacpan.org/pod/YAML::XS\n[teex]: https://metacpan.org/pod/Test::Exception\n\nLicense and copyright\n---------------------\n\nCopyright (c) 2019 [Mirko Westermeier][mirko] ([\\@memowe][mgh], [mirko@westermeier.de][mmail])\n\nReleased under the MIT (X11) license. See [LICENSE.txt][mit] for details.\n\n[mirko]: http://mirko.westermeier.de\n[mgh]: https://github.com/memowe\n[mmail]: mailto:mirko@westermeier.de\n[mit]: LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemowe%2Fdirdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemowe%2Fdirdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemowe%2Fdirdown/lists"}