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

https://github.com/johnweldon/import

Go import vanity url service
https://github.com/johnweldon/import

boltdb go golang golang-application import web-application

Last synced: 10 months ago
JSON representation

Go import vanity url service

Awesome Lists containing this project

README

          

# import

A vanity url http service for `go import`.

Uses [boltdb](htpts://github.com/boltdb/bolt), but otherwise all standard library imports.

Plans include:

- ~API for managing repos that this service handles~
- ~UI for listing and exploring repos, and managing through the API~
- Better Authentication and Authorization of Admin API (currently just uses IP whitelisting)
- Finish **U**pdate portion of **CRUD** API (**CR D** is done)
- Consider dropping BoltDB, in favour of simple JSON file (just to remove external dependencies)

## Installation

Use `go get jw4.us/import` to get the source code.

Use the Dockerfile or the image `docker.jw4.us/import` to run the default version in a container.

(Acknowledgements and thanks to [rsc](https://rsc.io/go-import-redirector))