An open API service indexing awesome lists of open source software.

https://github.com/boxingoctopuscreative/giteo

Giteo: Git.io URL Shortener CLI Client
https://github.com/boxingoctopuscreative/giteo

command-line command-line-tool git-io github python python3 url-shortener

Last synced: 27 days ago
JSON representation

Giteo: Git.io URL Shortener CLI Client

Awesome Lists containing this project

README

          

# Giteo

[![GitHub version](https://badge.fury.io/gh/BoxingOctopus%2Fgiteo.svg)](https://badge.fury.io/gh/BoxingOctopus%2Fgiteo)
[![PyPI version](https://badge.fury.io/py/giteo.svg)](https://badge.fury.io/py/giteo)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/giteo)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/giteo)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/giteo)
![Docker Image Version (latest semver)](https://img.shields.io/docker/v/tuxotaku/giteo)
![PyPI - License](https://img.shields.io/pypi/l/giteo)
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/tuxotaku/giteo)
[![Documentation Status](https://readthedocs.org/projects/giteo/badge/?version=latest)](https://giteo.readthedocs.io/en/latest/?badge=latest)

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)
- [Contributing](../CONTRIBUTING.md)

## About

Giteo is a CLI-based URL shortener written in Python which uses GitHub's [git.io](https://git.io) URL shortening service.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine.

### Prerequisites

- Python 3.7+
- Pipenv
- Docker (Optional)

### Development Setup

1. Fork this repo
2. Set up your Pipenv environment (`pipenv install`)
3. Set up your Docker environment (`docker build -t giteo:latest .`) (Optional)

### Installing

#### Bare Metal Install

`pip install giteo`

#### Docker Install

`docker pull TuxOtaku/giteo:latest`

## Usage

### Bare Metal

`giteo --url --code `

### Docker
`docker run --rm TuxOtaku/giteo:latest --url --code `