Skip to content

tadhglewis/Gist-To

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gist-To

Simple Gist and GitHub pages based url shortener

GitHub file size in bytes GitHub

Limitations

  • As this is a client-side JavaScript based url shortener the browser must have JavaScript enabled
  • This project was created as a small side project and may not be production ready. Feel free to contribute and improve this project, everyone is welcome.

You should probably use https://github.com/tadhglewis/cloudflare-pages-url-shortener

Setup

  • Add <meta data-gist-to="url" data-gist-to-content="YOUR_URL"> in the head tag
  • Add <meta data-gist-to="prefix" data-gist-to-content="YOUR_PREFIX"> in the head tag (optional)
  • Add <meta data-gist-to="refresh"> in the head tag
  • Add <p data-gist-to="message"></p> at the bottom of the body tag
  • Add <script src="gistto.js"></script> at the bottom of the body tag

Notes

About

Simple Gist and GitHub pages based url shortener

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published