{"id":18434335,"url":"https://github.com/elementbound/mdview","last_synced_at":"2026-04-11T18:02:58.812Z","repository":{"id":35149600,"uuid":"213070330","full_name":"elementbound/mdview","owner":"elementbound","description":"View markdown files from your terminal!","archived":false,"fork":false,"pushed_at":"2024-03-28T22:14:40.000Z","size":991,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T10:13:50.814Z","etag":null,"topics":["cli","cli-app","express","express-js","expressjs","markdown","markdown-viewer","node","node-js","nodejs","nodejs-server","terminal"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/elementbound.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":"2019-10-05T20:57:19.000Z","updated_at":"2023-03-18T18:44:12.000Z","dependencies_parsed_at":"2024-01-15T21:19:30.407Z","dependency_job_id":"425efa4e-1d43-45ed-bcc0-d092035f243e","html_url":"https://github.com/elementbound/mdview","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"234bc27ce772e694751231c92fa8cff952d93921"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/elementbound/mdview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fmdview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fmdview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fmdview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fmdview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elementbound","download_url":"https://codeload.github.com/elementbound/mdview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fmdview/sbom","scorecard":{"id":372202,"data":{"date":"2025-08-11","repo":{"name":"github.com/elementbound/mdview","commit":"02a4f89f01faa521050249b74c7f5094899652ef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T13:14:02.536Z","repository_id":35149600,"created_at":"2025-08-18T13:14:02.536Z","updated_at":"2025-08-18T13:14:02.536Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31689762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cli","cli-app","express","express-js","expressjs","markdown","markdown-viewer","node","node-js","nodejs","nodejs-server","terminal"],"created_at":"2024-11-06T06:03:11.410Z","updated_at":"2026-04-11T18:02:58.779Z","avatar_url":"https://github.com/elementbound.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mdview #\n\nView Markdown files in your terminal!\n\n![mdview](assets/mdview.gif)\n\n## Features ##\n\n* Open Markdown files in your terminal\n* Follow links between the files\n* Unknown files are presented as-is\n* Render images as ASCII grayscales\n* Configure via environment variables\n\n## Requirements ##\n\n* [node.js](https://nodejs.org/en/download/)\n* A text-mode browser, such as:\n  * [lynx](https://lynx.browser.org/)\n  * [w3m](http://w3m.sourceforge.net/)\n  * [links2](http://manpages.ubuntu.com/manpages/disco/en/man1/links2.1.html)\n  * [elinks](http://elinks.or.cz/)\n* [imagemagick](https://imagemagick.org/)\n  * Only needed for image rendering, can be turned off. See [configuration](.env.defaults)\n\n## Install ##\n\nInstall `lynx` and `imagemagick` with your package manager of choice. For example: \n\n```sh\nsudo apt install lynx imagemagick\n```\n\nInstall `mdview` using `npm`:\n\n```sh\nnpm install -g @elementbound/mdview\n```\n\n## Usage ##\n\nOpen any markdown file with `mdview`:\n\n```sh\nmdview README.md\n```\n\n## Documentation ##\n\nThis package provides two components - `mdview` and `mdserve`.\n\n`mdserve` is a HTTP server that renders markdown documents as HTML. It includes image conversion logic as well, so images show up in some way. \n\n`mdview` launches `mdserve` when needed, and opens the given document in the configured browser ( default is `lynx` ).\n\n### Command line flags ###\n\n| Flag | Description                     |\n| ---- | ------------------------------- |\n| `-q` | Don't output anything to STDOUT |\n\n### Endpoints ###\n\n| URL              | Description                          |\n| ---------------- | ------------------------------------ |\n| `/render/{path}` | Render the file under `path` as HTML |\n| `/ping`          | Returns `pong` if the server is up   |\n| `/pid`           | Returns the server's process ID      |\n\n\u003e NOTE: The server only accepts requests from the local machine.\n\n### Tips and tricks ###\n\n#### Periodically refreshing file ###\n\nYou can combine `mdview`'s *quiet* flag, your browser's *dump* flag, and the `watch` command:\n\n```sh\nwatch -n 0.5 'MDVIEW_BROWSER=\"lynx -dump\" mdview -q /path/to/file'\n```\n\nIf you have a version of `watch` that supports it, you can use `elinks` for colored output:\n\n```sh\nwatch -n 0.5 --color 'MDVIEW_BROWSER=\"elinks -dump -dump-color-mode 1\" mdview -q /path/to/file'\n```\n\nHere it is in action:\n\n![Periodical refreshing](assets/mdview-refresh.gif)\n\n## Configuration ##\n\nThe server can be configured via environment variables. Which also means that you can plop your variables in your `.bashrc` or similar.\n\nFor reference, see [`.env.defaults`](.env.defaults)\n\n## Issues ##\n\nIf you have any issues or feedback, please feel free to let me know by opening an [issue on Github](https://github.com/elementbound/mdview/issues).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementbound%2Fmdview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felementbound%2Fmdview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementbound%2Fmdview/lists"}