Free Online Services. Github star history. IP GeoLocation. Count Lines of Code. CORS proxy server. Convert video to gif. HTTP Headers. Api weather temp. Alexa ranking.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
_data/geoip 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
_db 0.2.0 video2gif new service Nov 3, 2018
_lib 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
tmp 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
www 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
.gitignore 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
LICENSE.md Init Oct 19, 2017
README.md 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
a_config.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
alexa.go 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
alexa_test.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
geoip.go 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
geoip_test.go 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
headers.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
headers_test.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
hits.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
loc.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
loc_test.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
main.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
main_test.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
proxy.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
proxy_test.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
stars.go 0.4.0 new ip geolocation service + minor changes Nov 14, 2018
video2gif.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018
weather.go 0.4.1 threadsafe write hits + minor changes Nov 16, 2018
weather_test.go 0.3.1 Endpoints are now definitive ,more tests, minor bugs fixed Nov 12, 2018

README.md

Version
Maintained YES
Ask Me Anything !

logo ONLINE TOOLS (codetabs.com)

version 0.4.1

##################################

NEW ENDPOINTS ARE DEFINITIVES (2018-11-10)

##################################

  1. Count LOC (lines of code) online from github repos or zipped uploaded folder
  2. Video2Gif
  3. CORS proxy
  4. Github Stars graphical history
  5. Ip Geolocation
  6. Alexa Ranking
  7. HTTP Headers
  8. API weather temp

logo

COUNT LOC ONLINE

DEMO and DOCS online

  • Enter user/repo , then click add or select a zipped folder and upload it
  • File max size 200mb;
  • Petitions are limited to 1 every 5 secs. You will get a 429 error if you exceed

Example

API LOC

  • Make a GET HTTP Request
    https://api.codetabs.com/v1/loc?github=USERNAME/REPONAME

Example :
https://api.codetabs.com/v1/loc?github=jolav/codetabs

Response (JSON) :

[
 {
  "language": "JavaScript",
  "files": 1,
  "lines": 176,
  "blanks": 14,
  "comments": 6,
  "linesOfCode": 156
 },   
 ... more languages
 {
  "language": "Total",
  "files": 8,
  "lines": 921,
  "blanks": 132,
  "comments": 46,
  "linesOfCode": 743
 }
]

logo

VIDEO2GIF

Read DOCS online

  • Tool for converting videos to animated gifs
  • File max size 100mb
  • Limit : 1 request every 30 seconds. Once reached subsequent requests will result in error 429 (too many requests) until your quota is cleared.

Parameters

Frames : Set frame rate (frames per second). Max value 10, default 5.

Start : Seek to given time position in seconds. "hh:mm:ss" syntax is also supported. Default is from start

  • 100 - begin from second 100
  • 01:40 - begin from minute 1 and second 40

Duration : Restrict the captured video sequence to the duration specified in seconds. "hh:mm:ss" syntax is also supported. Default is all duration

  • 200 - take 200 seconds from start
  • 03:20 - take 3 minutes and 20 seconds from start

Scale : Set width:height , if one parameter is -1 it will automatically determine the other while preserving the aspect ratio. Default is 320:160. Max 480.

  • 480:480 set width = 480 and height = 480
  • 380:-1 set width = 380 and height automatically preserving the aspect ratio
  • -1:320 set height = 320 and width automatically preserving the aspect ratio

logo

CORS-PROXY

Read DOCS online

  • Free CORS proxy server to bypass same-origin policy related to performing standard AJAX requests to 3rd party services. You can use to prevent mixed content of images and JSON data proxying the resources to serve them under https.
  • API URL => append the url with the resource you want to "https://api.codetabs.com/v1/proxy/"
  • Each request is limited to 5mb (2mb for old endpoint) size download to avoid abuse.
  • Only suppports GET request.
  • Limit : 5 request per second. Once reached subsequent requests will result in error 429 (too many requests) until your quota is cleared.

logo

GITHUB STARS GRAPHICAL HISTORY

DEMO online

  • Enter user/repo , then click add.
  • Petitions are limited to 1 every 5 secs. You will get a 429 error if you exceed

Example


Logo

IP GEOLOCATION API

DEMO online

  • Free service that provides a public secure API (CORS enabled) to retrieve geolocation from any IP or hostname.
  • 10 request per second. Once reached subsequent requests will result in error 429 until your quota is cleared.
  • This API requires no key or signup.
  • JSON and XML supported
  • IPv4 and IPv6 supported
  • CORS support out of the box makes this perfect to your front end apps or webs

Examples

https://api.codetabs.com/v1/geoip/json
https://api.codetabs.com/v1/geoip/json?q=codetabs.com
https://api.codetabs.com/v1/geoip/xml?q=8.8.8.8
https://api.codetabs.com/v1/geoip/xml?q=2a00:1450:4006:803::200e

Response JSON :

{   
  "ip": "172.168.90.240",
  "country_code": "FR",
  "country_name": "France",
  "region_code": "IDF",
  "region_name": "Ile-de-France",
  "city": "Paris",
  "zip_code": "75001",
  "time_zone": "Europe/Paris",
  "latitude": 48.8628,
  "longitude": 2.3292   
}

logo

ALEXA

Tool for know Alexa Ranking Top 1 million about a website.

Get Alexa Ranking Online

  • Petitions are limited to 5 per second. You will get a 429 error if you exceed

logo

HEADERS

Tool to get list of response headers including redirect chain of a HTTP connection

DEMO and DOCS online

  • Petitions are limited to 5 per second. You will get a 429 error if you exceed

logo

WEATHER

Read DOCS online

  • Petitions are limited to 5 per sec. You will get a 429 error if you exceed
  • CORS is enabled allowing Javascript make requests across domain boundaries
  • Supported formats, json and xml

Acknowledgment

  • This site includes Curtis Gagliardi cgag/loc for counting lines of code.

  • This site includes GeoLite2 data created by MaxMind, available from maxmind.com