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://vxgit.luolix.top

  1. replace #'s with /'s

For example:

- https://github.com/$org/$repo/issues/$issue_number#issuecomment-$comment_id
+ https://vxgit.luolix.top/$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://vxgit.luolix.top (redirects here)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published