{"id":21068494,"url":"https://github.com/matheusfillipe/pymacc","last_synced_at":"2025-12-30T16:33:48.331Z","repository":{"id":101330022,"uuid":"555074534","full_name":"matheusfillipe/pymacc","owner":"matheusfillipe","description":"Python MArkdown driven fastCgi Cms","archived":false,"fork":false,"pushed_at":"2022-10-25T23:39:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T21:37:46.830Z","etag":null,"topics":["fastcgi","markdown","markdown-to-html","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/matheusfillipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-20T22:52:43.000Z","updated_at":"2022-10-20T23:04:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"667427d8-92f6-4f41-bdc6-2c08efcc4dbf","html_url":"https://github.com/matheusfillipe/pymacc","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/matheusfillipe%2Fpymacc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfillipe%2Fpymacc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfillipe%2Fpymacc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfillipe%2Fpymacc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matheusfillipe","download_url":"https://codeload.github.com/matheusfillipe/pymacc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510056,"owners_count":20302296,"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":["fastcgi","markdown","markdown-to-html","python3"],"created_at":"2024-11-19T18:22:17.818Z","updated_at":"2025-12-30T16:33:48.306Z","avatar_url":"https://github.com/matheusfillipe.png","language":"Python","readme":"# PYMACC\n\nThis is a simple hacky script to serve a directory of markdown files over nginx's fastcgi. Put your `.md` files under `www` and add to your nginx configuration something like:\n\n```nginx\n  location ~^/notes/* {\n    gzip off;\n    fastcgi_pass unix:/var/run/fcgiwrap.socket;\n    include /etc/nginx/fastcgi_params;\n    fastcgi_param SCRIPT_FILENAME {PUT_THEPATH_HERE}/main.py;\n  }\n```\n\nReplacing `{PUT_THEPATH_HERE} ` with wherever your cloned this repo into.\n\nRun `sudo pip3 install mistune Pygments`, restart nginx and take a look at `config.py`.\n\n## Writting\n\nThe folder structure under `www` defines the routes. If an invalid path is requested, the index listing is shown for the upper valid path. Just create any markdown file and use github syntac. It also enables most of the plugins of mistune: https://mistune.lepture.com/en/latest/plugins.html\n\n\n# TODO\n\n- [ ] This could use a web framework and serve over a proxy like any modern thing\n- [ ] Proper packaging\n- [ ] Poetry run is slow for the cgi\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusfillipe%2Fpymacc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheusfillipe%2Fpymacc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusfillipe%2Fpymacc/lists"}