Awesome
ONLINE TOOLS (codetabs.com)
version 0.9.3
- Count LOC (lines of code) online from github/gitlab repos or zipped uploaded folder
- CORS proxy
- Github Gitlab Stars graphical history
- IP GeoLocation
- Alexa
- HTTP Headers
- API weather temp
- Random Data API
In order to run this program you need installed
apt install curl git p7zip zip unzip
COUNT LOC ONLINE
DEMO and API DOCS online
- Count lines of code, blank lines, comment lines, and physical lines of source code in many programming languages.
- Enter user/repo , then click add
- Can count GitHub and GitLab repos
- Max GitHub/GitLab Repo size : 500 mb, greater repos will not work.
- Can select a branch different than master using &branch=branchName
- Can ignore files or directories writing them separated by commas in the ignoreBox.
- Default colors are the same as github.
- You can edit the colors of the segments by clicking on any point of it. Segment will randomly change color as it is clicked.
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
}
]
<hr>
CORS-PROXY
API 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.
GITHUB GITLAB STARS GRAPHICAL HISTORY
DEMO and API DOCS online
- Select Github or GitLab source.
- Enter user/repo , then click add.
- You can edit the colors of the lines by clicking on any point of it. Line will randomly change color as it is clicked.
IP GEOLOCATION
DEMO and API Docs online
- Free service that provides a public secure API (CORS enabled) to retrieve geolocation from any IP or hostname.
- 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
{
"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
}
<hr>
ALEXA
DEMO and API DOCS online
- Tool for know Alexa Ranking Top 1 million about a website.Alexa ranking is deprecated. Last Update on February 1, 2023
HEADERS
DEMO and API DOCS online
- Tool to get list of response headers including redirect chain of a HTTP connection
WEATHER
API DOCS online
- Retrieve actual temp (ºC and ºF) based on your public IP geolocation or a city passed as a parameter
- JSON and XML supported
RANDOM DATA API
API Docs online
- Random Integers
- Lists of integers with randomized order
- Random Names
Acknowledgment
-
This site includes Ben Boyter <a href="https://github.com/boyter/scc">boyter/scc</a> for counting lines of code.
-
This site includes IP2Location LITE data available from <a href="https://lite.ip2location.com">https://lite.ip2location.com</a>.