├── .coveragerc ├── .github └── workflows │ ├── relator.yml │ └── setup.yml ├── .gitignore ├── .ruff.toml ├── LICENSE ├── README.md ├── example.html ├── example.py ├── example_poll.py ├── example_transparent.py ├── images ├── problem_browser.png ├── problem_sulguk.png └── problem_telegram.png ├── pyproject.toml ├── pytest.ini ├── requirements_dev.txt ├── src └── sulguk │ ├── __init__.py │ ├── aiogram_middleware.py │ ├── data.py │ ├── entities │ ├── __init__.py │ ├── base.py │ ├── decoration.py │ ├── emoji.py │ ├── list.py │ ├── no_contents.py │ ├── progress.py │ ├── stub.py │ └── text.py │ ├── mapper.py │ ├── post_manager │ ├── __init__.py │ ├── chat_info.py │ ├── cli.py │ ├── editor.py │ ├── exceptions.py │ ├── file.py │ ├── links.py │ ├── params.py │ └── sender.py │ ├── py.typed │ ├── render │ ├── __init__.py │ ├── canvas.py │ ├── numbers.py │ └── state.py │ ├── walker.py │ └── wrapper.py └── tests ├── __init__.py ├── fixtures └── supported_tags.html ├── post_manager └── test_links.py ├── test_blockquote.py ├── test_img.py ├── test_malformed_html.py ├── test_parse.py └── test_spaces.py /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/.coveragerc -------------------------------------------------------------------------------- /.github/workflows/relator.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/.github/workflows/relator.yml -------------------------------------------------------------------------------- /.github/workflows/setup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/.github/workflows/setup.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/.gitignore -------------------------------------------------------------------------------- /.ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/.ruff.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/README.md -------------------------------------------------------------------------------- /example.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/example.html -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/example.py -------------------------------------------------------------------------------- /example_poll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/example_poll.py -------------------------------------------------------------------------------- /example_transparent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/example_transparent.py -------------------------------------------------------------------------------- /images/problem_browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/images/problem_browser.png -------------------------------------------------------------------------------- /images/problem_sulguk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/images/problem_sulguk.png -------------------------------------------------------------------------------- /images/problem_telegram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/images/problem_telegram.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /src/sulguk/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/__init__.py -------------------------------------------------------------------------------- /src/sulguk/aiogram_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/aiogram_middleware.py -------------------------------------------------------------------------------- /src/sulguk/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/data.py -------------------------------------------------------------------------------- /src/sulguk/entities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/__init__.py -------------------------------------------------------------------------------- /src/sulguk/entities/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/base.py -------------------------------------------------------------------------------- /src/sulguk/entities/decoration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/decoration.py -------------------------------------------------------------------------------- /src/sulguk/entities/emoji.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/emoji.py -------------------------------------------------------------------------------- /src/sulguk/entities/list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/list.py -------------------------------------------------------------------------------- /src/sulguk/entities/no_contents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/no_contents.py -------------------------------------------------------------------------------- /src/sulguk/entities/progress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/progress.py -------------------------------------------------------------------------------- /src/sulguk/entities/stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/stub.py -------------------------------------------------------------------------------- /src/sulguk/entities/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/entities/text.py -------------------------------------------------------------------------------- /src/sulguk/mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/mapper.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sulguk/post_manager/chat_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/chat_info.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/cli.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/editor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/editor.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/exceptions.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/file.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/links.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/links.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/params.py -------------------------------------------------------------------------------- /src/sulguk/post_manager/sender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/post_manager/sender.py -------------------------------------------------------------------------------- /src/sulguk/py.typed: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/sulguk/render/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/render/__init__.py -------------------------------------------------------------------------------- /src/sulguk/render/canvas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/render/canvas.py -------------------------------------------------------------------------------- /src/sulguk/render/numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/render/numbers.py -------------------------------------------------------------------------------- /src/sulguk/render/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/render/state.py -------------------------------------------------------------------------------- /src/sulguk/walker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/walker.py -------------------------------------------------------------------------------- /src/sulguk/wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/src/sulguk/wrapper.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/supported_tags.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/fixtures/supported_tags.html -------------------------------------------------------------------------------- /tests/post_manager/test_links.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/post_manager/test_links.py -------------------------------------------------------------------------------- /tests/test_blockquote.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/test_blockquote.py -------------------------------------------------------------------------------- /tests/test_img.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/test_img.py -------------------------------------------------------------------------------- /tests/test_malformed_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/test_malformed_html.py -------------------------------------------------------------------------------- /tests/test_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/test_parse.py -------------------------------------------------------------------------------- /tests/test_spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/sulguk/HEAD/tests/test_spaces.py --------------------------------------------------------------------------------