Skip to content

Better embeds for GitHub links on Discord

License

Notifications You must be signed in to change notification settings

sycertech/vxgithub

Repository files navigation

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)

About

Better embeds for GitHub links on Discord

https://vxgithub.com (redirects here)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published