p-go

command module
v0.0.0-...-b14042d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 11 Imported by: 0

README

p-go

Simplistic image/file service.

Created in order to satisfy all my needs for similar sites (khm, imgur).

*Gopher Artwork by Ashley McNamara*

Rewritten from Python3 to Go.

Deployment

1. Direct

go get && go run main.go

The images are stored in the ./storage/ directory.

2. Docker

sudo docker build -t p .

sudo docker run -v /machinedirectory:/go/src/github.com/whiteshtef/p/storage -p 80:80 p

Usage

Open in browser, select an image, hit submit - bam. You are redirected to the hosted version of the image you just uploaded.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL