All Projects → kashav → Point

kashav / Point

Licence: mit
Create and manage shortened URLs with GitHub pages.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Point

gas-url-shortener
A URL Shortening service powered by Google Apps Script.
Stars: ✭ 43 (-70.55%)
Mutual labels:  github-pages, url-shortener
Bornmay
Awesome Github Profile Readme. Github ReadMe Github Profile Readme Dynamic Github ReadMe Dynamic Github Profile ReadMe. Please Star and Fork
Stars: ✭ 140 (-4.11%)
Mutual labels:  github-pages
Blog
✒️记录技术的新博客,采用Vue3开发,使用GitHub API进行数据交互
Stars: ✭ 119 (-18.49%)
Mutual labels:  github-pages
Pages Gem
A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
Stars: ✭ 1,670 (+1043.84%)
Mutual labels:  github-pages
Leap Day
Leap day is a Jekyll theme for GitHub Pages
Stars: ✭ 121 (-17.12%)
Mutual labels:  github-pages
Haacked.com
You've been haacked and you like it
Stars: ✭ 131 (-10.27%)
Mutual labels:  github-pages
Jekyll Theme Yat
🎨 Yet another theme for elegant writers with modern flat style and beautiful night/dark mode.
Stars: ✭ 113 (-22.6%)
Mutual labels:  github-pages
Books
📚 Find books from Google Play Books - For all the book lovers in the world. https://liyasthomas.github.io/books
Stars: ✭ 145 (-0.68%)
Mutual labels:  github-pages
Resume
1分钟构建个人的在线简历
Stars: ✭ 134 (-8.22%)
Mutual labels:  github-pages
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-13.01%)
Mutual labels:  github-pages
So Simple Theme
A simple Jekyll theme for words and pictures.
Stars: ✭ 1,701 (+1065.07%)
Mutual labels:  github-pages
Page.qy
🤘 以简单的方式, 建立你的个人网站, 无需一行代码
Stars: ✭ 124 (-15.07%)
Mutual labels:  github-pages
Welcome
A probot app that welcome new users
Stars: ✭ 132 (-9.59%)
Mutual labels:  github-pages
Demosify
Create a playground to show the demos of your projects.
Stars: ✭ 121 (-17.12%)
Mutual labels:  github-pages
Git Wiki Theme
A revolutionary full-featured wiki for github pages and jekyll. You don't need to compile it!
Stars: ✭ 139 (-4.79%)
Mutual labels:  github-pages
Git Playbook
GIT Playbook is a documentation framework that allows you to create Documentation for your project using Markdown and GH-Pages rapidly
Stars: ✭ 115 (-21.23%)
Mutual labels:  github-pages
Laravel Short Url
A Laravel package to shorten urls
Stars: ✭ 127 (-13.01%)
Mutual labels:  url-shortener
Fossurl
Your Own Url Shortner Without any fancy server side processing and support for custom url , which can even be hosted on GitHub Pages
Stars: ✭ 131 (-10.27%)
Mutual labels:  url-shortener
Serverless Url Shortener
URL shortener for AWS Lambda and S3
Stars: ✭ 146 (+0%)
Mutual labels:  url-shortener
Jekyll Theme Mdui
🍷A Jekyll theme based on MDUI
Stars: ✭ 143 (-2.05%)
Mutual labels:  github-pages

point

Create and manage shortened URLs with GitHub pages.

point lets you create, view, and manage shortened URLs. All pages are hosted on GitHub Pages and redirection is done with HTML5's http-equiv refresh attribute.

Demo

asciicast

Installation

  • You should have Go installed and configured.

  • Install with Go:

    $ go get -v github.com/kshvmdn/point/...
    $ point --help
    
  • Or, install directly via source:

    $ git clone https://github.com/kshvmdn/point.git $GOPATH/src/github.com/kshvmdn/point
    $ cd $_
    $ make bootstrap install
    $ point --help
    

Usage

  • You should export your personal GitHub access token as POINT_ACCESS_TOKEN. You can request one here with the repo and delete_repo permissions.

  • View the help dialogue with the --help flag. View the specific help dialogue for each command by running point [command] --help.

    $ point --help
    usage: point [<flags>] <command> [<args> ...]
    
    Create and manage shortened URLs with GitHub pages.
    
    Flags:
      --help     Show context-sensitive help (also try --help-long and --help-man).
      --verbose  Show detailed output.
      --version  Show application version.
    
    Commands:
      help [<command>...]
        Show help.
    
      create [<flags>] <url>
        Create a new entry.
    
      list
        Print a list of active entries.
    
      remove <repo>...
        Remove one or more entries.
    
    
  • create

    $ point create --help
    usage: point create [<flags>] <url>
    
    Create a new entry.
    
    Flags:
          --help         Show context-sensitive help (also try --help-long and --help-man).
          --verbose      Show detailed output.
          --version      Show application version.
      -c, --cname=CNAME  Optional CNAME record for this repository.
      -n, --name=NAME    Endpoint for the shortened URL, chosen randomly if empty.
      -p, --private      Make this repository private.
      -s, --subdir       Use a subdirectory in a pre-existing repository, instead of creating a new repository.
      -r, --repo=REPO    A pre-existing repository to be used with the --subdir option (expects `foo/bar` for
                         `https://github.com/foo/bar`). Pushes to the default branch.
    
    Args:
      <url>  The URL to shorten.
    
    
  • list

    $ point list --help
    usage: point list
    
    Print a list of active entries.
    
    Flags:
      --help     Show context-sensitive help (also try --help-long and --help-man).
      --verbose  Show detailed output.
      --version  Show application version.
    
    
  • remove

    $ point remove --help
    usage: point remove <repo>...
    
    Remove one or more entries.
    
    Flags:
      --help     Show context-sensitive help (also try --help-long and --help-man).
      --verbose  Show detailed output.
      --version  Show application version.
    
    Args:
      <repo>  List of entries to remove.
    
    

Contribute

This project is completely open source. Feel free to open an issue or create a pull request.

Before submitting code, please ensure that tests are passing and the linter is happy. The following commands may be of use, refer to the Makefile to see what they do.

$ make bootstrap \
       install
$ make fmt \
       vet \
       lint
$ make test \
       coverage
$ make bootstrap-dist \
       dist

License

point source code is released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].