{"id":13501449,"url":"https://github.com/vinayak-mehta/present","last_synced_at":"2025-05-14T09:08:08.039Z","repository":{"id":45257994,"uuid":"288559703","full_name":"vinayak-mehta/present","owner":"vinayak-mehta","description":"A terminal-based presentation tool with colors and effects.","archived":false,"fork":false,"pushed_at":"2023-01-13T13:24:05.000Z","size":8036,"stargazers_count":4332,"open_issues_count":53,"forks_count":164,"subscribers_count":42,"default_branch":"master","last_synced_at":"2024-10-29T15:27:32.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://present.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinayak-mehta.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-18T20:39:05.000Z","updated_at":"2024-10-27T13:57:48.000Z","dependencies_parsed_at":"2023-02-09T15:46:28.503Z","dependency_job_id":null,"html_url":"https://github.com/vinayak-mehta/present","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayak-mehta%2Fpresent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayak-mehta%2Fpresent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayak-mehta%2Fpresent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayak-mehta%2Fpresent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinayak-mehta","download_url":"https://codeload.github.com/vinayak-mehta/present/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248334993,"owners_count":21086486,"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-07-31T22:01:38.061Z","updated_at":"2025-04-11T03:27:26.327Z","avatar_url":"https://github.com/vinayak-mehta.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://raw.githubusercontent.com/vinayak-mehta/present/master/docs/_static/present.png\" width=\"200\"\u003e\n\u003c/p\u003e\n\n# present\n\n[![Documentation Status](https://readthedocs.org/projects/present/badge/?version=latest)](https://present.readthedocs.io/en/latest/) [![image](https://img.shields.io/pypi/v/present.svg)](https://pypi.org/project/present/) [![image](https://img.shields.io/pypi/pyversions/present.svg)](https://pypi.org/project/present/) [![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) [![Run on Repl.it](https://repl.it/badge/github/vinayak-mehta/present)](https://repl.it/@amasad/terminal-present)\n\nA terminal-based presentation tool with colors and effects.\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://raw.githubusercontent.com/vinayak-mehta/present/master/docs/_static/demo.gif\" width=\"800\"\u003e\n\u003c/p\u003e\n\nYou can also play a [codio](https://present.readthedocs.io/en/latest/codio.html) (pre-recorded code block) on a slide.\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://raw.githubusercontent.com/vinayak-mehta/present/master/docs/_static/codio.gif\" width=\"800\"\u003e\n\u003c/p\u003e\n\n`present` is built on [asciimatics](https://github.com/peterbrittain/asciimatics), and it works with `Python\u003e=3.7`.\n\nCheck out the [gallery](https://present.readthedocs.io/en/latest/gallery/index.html) to see what everyone is making with `present`! You can add your slides by simply [opening an issue](https://github.com/vinayak-mehta/present/issues/new?assignees=\u0026labels=made-with-present\u0026template=submit-slides-to-gallery.md\u0026title=Add+slides+to+gallery).\n\n## Installation\n\nYou can simply use pip to install `present`:\n\n```bash\n$ pip install present\n```\n\n## Usage\n\n```bash\n$ present sample.md\n```\n\nSome controls:\n\n- Quit: `q`\n- Previous slide: `b`, Left arrow, Page Up\n- Next slide: `n`, Space bar, Right arrow, Page Down\n\nAt the end, you can press `r` to restart the presentation.\n\n## Syntax\n\nSlides follow [Markdown](https://guides.github.com/features/mastering-markdown/) syntax. You can check out the [sample slides](https://github.com/vinayak-mehta/present/blob/master/examples/sample.md) for reference.\n\n**Note:** Some things aren't supported yet:\n- Effects and colors on the same slide.\n- Effects and code on the same slide.\n\n### Separator\n\nEach slide can be separated with a `---`.\n\n```\nSlide 1\n\n---\n\nSlide 2\n```\n\n### Headers\n\nLevel 1 headings become figlets, level 2 headings get underlined with `-`, and level 3 headings become bold.\n\n```\n# Heading 1\n\n## Heading 2\n\n### Heading 3\n```\n\n### Text\n\n```\nThis is normal text\n\nThis is **bold text**\n\nThis is `inline code`\n\nThis is a [link](www.google.com)\n\nAs Kanye West said:\n\n\u003e We're living the future so\n\u003e the present is our past.\n```\n\n### Lists\n\nOrdered lists become unordered lists automatically.\n\n```\n- Item 1\n    - Item 1a\n    - Item 1b\n    - Item 1c\n- Item 2\n    - Item 2a\n```\n\n### Images\n\nImage paths are relative to the directory where your slides are kept, and where you invoke `present`.\n\n```\n![RC](images/recurse.png)\n```\n\nNote: You can use high resolution images and tweak the terminal font size to get the best results.\n\n### Code blocks\n\n\u003cpre\u003e\n```\nimport os\n\nos.getcwd()\n```\n\u003c/pre\u003e\n\n### Codios\n\nCodios are pre-recorded playable code blocks which can be useful for live demos. You can find out how to write one in the [codio](https://present.readthedocs.io/en/latest/codio.html) section of the documentation.\n\n```\n![codio](codio.yml)\n```\n\n### Style\n\nEach slide can be styled with foreground / background colors and effects. By default, slides are black on white with no effects. You can add style to a slide by adding a comment at the beginning of the slide (after the slide separator):\n\n```\nSlide 1\n\n---\n\u003c!-- fg=black bg=yellow --\u003e\n\nSlide 2\n\n---\n\u003c!-- effect=explosions --\u003e\n\nSlide 3\n```\n\nColors: `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`.\n\nEffects: `fireworks`, `explosions`, `stars`, `matrix`, `plasma`. More coming soon!\n\n## Contributing\n\nThe [Contributor's Guide](https://present.readthedocs.io/en/latest/contributing.html) has detailed information about contributing issues, documentation, code, and tests.\n\n## Versioning\n\n`present` uses [Semantic Versioning](https://semver.org/). For the available versions, see the tags on the GitHub repository.\n\n## License\n\nThis project is licensed under the Apache License, see the [LICENSE](https://github.com/vinayak-mehta/present/blob/master/LICENSE) file for details.\n","funding_links":[],"categories":["Python","The list","终端","Tools"],"sub_categories":["网络服务_其他","Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinayak-mehta%2Fpresent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinayak-mehta%2Fpresent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinayak-mehta%2Fpresent/lists"}