{"id":19190470,"url":"https://github.com/mdxprograms/paqrat","last_synced_at":"2026-05-13T20:34:12.095Z","repository":{"id":95270542,"uuid":"145189980","full_name":"mdxprograms/paqrat","owner":"mdxprograms","description":"A flask site that compiles to static","archived":false,"fork":false,"pushed_at":"2018-08-21T02:07:55.000Z","size":21,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T04:15:45.542Z","etag":null,"topics":["flask","python3","static-site"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mdxprograms.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-18T04:31:21.000Z","updated_at":"2018-08-21T02:07:56.000Z","dependencies_parsed_at":"2023-04-13T00:04:03.449Z","dependency_job_id":null,"html_url":"https://github.com/mdxprograms/paqrat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdxprograms/paqrat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdxprograms%2Fpaqrat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdxprograms%2Fpaqrat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdxprograms%2Fpaqrat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdxprograms%2Fpaqrat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdxprograms","download_url":"https://codeload.github.com/mdxprograms/paqrat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdxprograms%2Fpaqrat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32999490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flask","python3","static-site"],"created_at":"2024-11-09T11:34:22.107Z","updated_at":"2026-05-13T20:34:12.078Z","avatar_url":"https://github.com/mdxprograms.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# paqrat\n\n_currently a work in progress_\n\nA flask site that compiles to static\n\n### Requirements\n\n- python3\n\n### Getting started\n\n- `make setup`\n- `make dev`\n\n### How it works\n\nData in `/data` will be associated with the `data` variable in all pages.\n\nEach data file is added to the data `dict` and it's associated filename is added as a key to it's data varaiables\n\nThe _only_ exception is anything in config.yml will be under `data.site`.\n\nie: `{{ data.site.title }}` would be associated with `config.yml`\n\n### Content\n\nBasic content entries are under `/content`.\n\nYou can pass an array of content files to use in your route template: `get_content(['index, about'])`\nThis will apply it to the templates `content` variable `{{ content.index }} {{ content.about }}`\nThis allows for separating content into any markdown file in `/content` and using it in multiple areas and templates.\n\n### Routing\n\nA basic route is defined by 4 things:\n\n1. route =\u003e `\"/\"`\n2. template =\u003e `index.html`\n3. data =\u003e `get_data()`\n4. content =\u003e `get_content(['index', 'about'])`\n\n```python\n# example values\n\n@app.route(route)\ndef index():\n    return render_template(template,\n                           content=get_content(content),\n                           data=data)\n```\n\n### Build\n\n`make build`\n\nThis will create a build directory with static files ready for deployment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdxprograms%2Fpaqrat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdxprograms%2Fpaqrat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdxprograms%2Fpaqrat/lists"}