Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.31 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.31 KB

vxgithub demo

vxgithub

Better embeds for GitHub links on Discord (and Telegram!)

Test status

Usage

  1. Prepend github.com with vx

https://github.com -> https://vxgithub.com

  1. replace #'s with /'s

For example:

- https://github.com/$org/$repo/issues/$issue_number#issuecomment-$comment_id
+ https://vxgithub.com/$org/$repo/issues/$issue_number/issuecomment-$comment_id

Note

The fragment isn't passed to the server, so you have to replace it with a / yourself.
See RFC 3986 3.5: Fragment for more information.

Roadmap

  • Issue Comment (/$org/$repo/issues/$issue_number/issuecomment-$comment_id)
  • PR Comment (/$org/$repo/pull/$pr_number#issuecomment-$comment_id)
  • PR Review Comment (/$org/$repo/pull/$pr_number#discussion_r$comment_id)
  • PR Review (/$org/$repo/pull/$pr_number#pullrequestreview$comment_id)