proclink-api

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

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

Go to latest
Published: Mar 9, 2016 License: MIT Imports: 13 Imported by: 0

README

API Server for proc.link website

The server returns oembed information for ANY url ( if they respond within provided time limit :) )

To run it and disable access to private ip ranges, do:

./server -blacklist_ranges "10.0.0.0/8 172.16.0.0/12 192.168.0.0/16"

Try it online:

A normal website

http://api.proc.link/oembed?url=http://techcrunch.com

A slow loading image

http://api.proc.link/oembed?url=http://deelay.me/1000/http://deelay.me/img/1000ms.gif

A very slow image

http://api.proc.link/oembed?url=http://deelay.me/5000/http://deelay.me/img/5000ms.gif

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