{"id":17037065,"url":"https://github.com/bast/refreeze","last_synced_at":"2025-04-28T13:10:06.107Z","repository":{"id":24532440,"uuid":"27938752","full_name":"bast/refreeze","owner":"bast","description":"Markdown web slides served cold.","archived":false,"fork":false,"pushed_at":"2018-10-22T13:42:32.000Z","size":70,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T13:09:58.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bast.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}},"created_at":"2014-12-12T21:24:47.000Z","updated_at":"2018-11-02T17:54:03.000Z","dependencies_parsed_at":"2022-08-23T00:10:48.061Z","dependency_job_id":null,"html_url":"https://github.com/bast/refreeze","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/bast%2Frefreeze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Frefreeze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Frefreeze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Frefreeze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bast","download_url":"https://codeload.github.com/bast/refreeze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319605,"owners_count":21570427,"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":[],"created_at":"2024-10-14T08:52:47.945Z","updated_at":"2025-04-28T13:10:05.915Z","avatar_url":"https://github.com/bast.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# reFreeze\n\n### Markdown web slides served cold\n\nFreeze and thaw Markdown to HTML with\n[Remark](https://github.com/gnab/remark) and\n[(Frozen)](http://pythonhosted.org/Frozen-Flask/)\n[Flask](http://flask.pocoo.org/)\nand serve via [GitHub pages](https://pages.github.com/).\n\n- Licensed under a [three clause BSD License](../master/LICENSE)\n- Includes some [Remark](https://github.com/gnab/remark) sources (c) Ole Petter Bang\n- Includes some [Springy](https://github.com/dhotson/springy) sources (c) Dennis Hotson\n- Example project: https://github.com/scisoft/git-intro/\n- Example web slides: http://scisoft.github.io/git-intro/\n\n### Do-it-yourself example\n\nCreate an empty repository on GitHub e.g. called \"example\".\n\nCreate an empty directory with the same name as the repository\n(\"example\") and in this directory copy-paste the following\nto a file called `talk.md`:\n\n```\n# Title slide\n\n## Your Name\n\nYour affiliation\n\n---\n\nlayout: false\n\n## Second slide\n\n- Hey\n- Ho\n- Lets\n- Go\n\n---\n\n## Third slide\n\n- Example equation (with MathJax): $$ a^2 + b^2 = c^2 $$\n```\n\nAfter that follow these steps:\n\n```shell\ngit init\ngit add talk.md\necho \"venv/\" \u003e .gitignore\ngit add .gitignore\nvirtualenv venv\nsource venv/bin/activate\npip install Flask\npip install Frozen-Flask\ngit submodule add https://github.com/rbast/refreeze.git refreeze\npython refreeze/flask_app.py # serve via http://0.0.0.0:5000/\npython refreeze/freeze.py    # create static html\ngit add index.html           # deploy html to github pages\ngit commit -m \"initial commit\"\n```\n\nNow create a `gh-pages` branch and push the branch to GitHub\n(adapt username and repository name):\n\n```shell\ngit checkout -b gh-pages\ngit remote add origin git@github.com:you/example.git\ngit push -u origin gh-pages\n```\n\nFew minutes later marvel at http://you.github.io/example/. Yay!\n\n### Serving images\n\nIf you want to use images,\nput them under `img/` and reference them like this:\n```\n![]({{ base }}/img/picture.jpg)\n```\n\nThe directory does not have to be called `img`.\nThe placeholder `{{ base }}` is replaced by `freeze.py`.\n\nYou can resize images like this:\n```\n\u003cimg src=\"{{ base }}/img/figure.gif\" style=\"width: 400px;\"/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbast%2Frefreeze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbast%2Frefreeze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbast%2Frefreeze/lists"}