{"id":22979702,"url":"https://github.com/verticalsoftware/spectre-viewer","last_synced_at":"2025-04-02T09:16:35.206Z","repository":{"id":217968818,"uuid":"717874756","full_name":"verticalsoftware/spectre-viewer","owner":"verticalsoftware","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-18T22:26:34.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T00:28:17.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/verticalsoftware.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}},"created_at":"2023-11-12T21:26:01.000Z","updated_at":"2024-02-18T22:32:47.000Z","dependencies_parsed_at":"2024-01-19T01:02:41.731Z","dependency_job_id":null,"html_url":"https://github.com/verticalsoftware/spectre-viewer","commit_stats":null,"previous_names":["verticalsoftware/spectre-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verticalsoftware%2Fspectre-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verticalsoftware%2Fspectre-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verticalsoftware%2Fspectre-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verticalsoftware%2Fspectre-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verticalsoftware","download_url":"https://codeload.github.com/verticalsoftware/spectre-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785485,"owners_count":20833497,"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-12-15T01:33:29.286Z","updated_at":"2025-04-02T09:16:35.190Z","avatar_url":"https://github.com/verticalsoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vertical-spectreviewer\n\nA pageable content viewer that uses spectre console for rendering.\n\n## Quick setup\n\nInstall:\n\n```\n\u003e dotnet package add vertical-spectreview --preelease\n```\n\nCall one of the methods on the `SpectreViewer` class with content you would normally send to SpectreConsole. The example below provides content from a file.\n\n```csharp\n// Renders markup found in a file\nSpectreViewer.MarkupWithPaging(File.OpenRead(\"marked-up.txt\"));\n```\n\nThe utility will display the content of the string or stream and let the user page through using `PageUp` and `PageDown` keys.\n\n## A note on input\n\nRecall spectre console markup - `[gold]...[/]`, etc. If you want to use brackets in the rendered content, be sure to properly escape them (e.g. `[[ my-escaped-content ]]`).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverticalsoftware%2Fspectre-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverticalsoftware%2Fspectre-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverticalsoftware%2Fspectre-viewer/lists"}