All Projects → fcambus → Telize

fcambus / Telize

Licence: bsd-2-clause
High performance JSON IP and GeoIP REST API (IP Geolocation)

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Telize

Sleekdb
Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.
Stars: ✭ 450 (-41.86%)
Mutual labels:  api, json
Networking
⚡️ Elegantly connect to a REST JSON Api. URLSession + Combine + Decodable + Generics = <3
Stars: ✭ 499 (-35.53%)
Mutual labels:  api, json
Zerocode
A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.
Stars: ✭ 482 (-37.73%)
Mutual labels:  api, json
Json Api Php
JSON-API (http://jsonapi.org) responses in PHP.
Stars: ✭ 426 (-44.96%)
Mutual labels:  api, json
Spyke
Interact with REST services in an ActiveRecord-like manner
Stars: ✭ 591 (-23.64%)
Mutual labels:  api, json
Laravel Api Response Builder
Builds nice, normalized and easy to consume Laravel REST API JSON responses.
Stars: ✭ 433 (-44.06%)
Mutual labels:  api, json
Api
姬长信API For Docker 一个基于多种编程语言开源免费不限制提供生活常用,出行服务,开发工具,金融服务,通讯服务和公益大数据的平台.
Stars: ✭ 743 (-4.01%)
Mutual labels:  api, json
Laravel Json Api Paginate
A paginator that plays nice with the JSON API spec
Stars: ✭ 351 (-54.65%)
Mutual labels:  api, json
Jsonui
jsonui is an interactive JSON explorer on your command line
Stars: ✭ 583 (-24.68%)
Mutual labels:  api, json
Jikan
Unofficial MyAnimeList PHP+REST API which provides functions other than the official API
Stars: ✭ 531 (-31.4%)
Mutual labels:  api, json
Dog Ceo Api
The API hosted at dog.ceo
Stars: ✭ 393 (-49.22%)
Mutual labels:  api, json
Manticoresearch
Database for search
Stars: ✭ 610 (-21.19%)
Mutual labels:  api, json
Polr
🚡 A modern, powerful, and robust URL shortener
Stars: ✭ 4,147 (+435.79%)
Mutual labels:  api, json
Normalizr
Normalizes nested JSON according to a schema
Stars: ✭ 20,721 (+2577.13%)
Mutual labels:  api, json
Newton Api
➗ A really micro micro-service for advanced math.
Stars: ✭ 358 (-53.75%)
Mutual labels:  api, json
Element Api
Create a JSON API/Feed for your elements in Craft.
Stars: ✭ 493 (-36.3%)
Mutual labels:  api, json
Api
HeadHunter API: документация и библиотеки
Stars: ✭ 324 (-58.14%)
Mutual labels:  api, json
Allorigins
👽 Pull contents from any page as JSON via API
Stars: ✭ 343 (-55.68%)
Mutual labels:  api, json
Acts as api
makes creating API responses in Rails easy and fun
Stars: ✭ 506 (-34.63%)
Mutual labels:  api, json
Ponzu
Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
Stars: ✭ 5,373 (+594.19%)
Mutual labels:  api, json
                           t  e  l  i  z  e
                       _______________________
                 ______\                     /_______
                \\     \\           ___     //      /
           __    \ ____  \   __    /   \   _____/\ / ____
       ___/  \____/  _//____/  \___\___/___\__   /__/  _//____
      \\__    ____  __/  __     __      ____    ____  __/  __///
        /      \_   |/    \_     /       \/     /_/   |/    \_
      \\\   ___/\___       /____/\_______/\   ___/\___       /
  <0(--- \__/ -h7- \______/   \       .    \__/ ---- \______/ --(0>
                       \      .\     /.      .
                        \      .\   //      /
                         \______\\ //______/
                                  Y

Description

Telize is a REST API built in C with Kore allowing to get a visitor IP address and to query location information from any IP address. It outputs JSON-encoded IP geolocation data, and supports both JSON and JSONP.

Geolocation operations are performed using libmaxminddb which caches the database in RAM. Therefore, Telize has very minimal overhead and should be blazing fast.

Requirements

Dependencies

Telize requires Kore 4.0.0+ and libmaxminddb.

GeoIP2 databases

Telize requires the free GeoLite2 databases from MaxMind.

The path to the GeoLite2 City and GeoLite2 ASN databases can be configured in conf/build.conf via the GEOIP2DIR macro, pointing to /var/db/GeoIP by default.

Building

Using the kodev tool:

kodev build

Configuration

By default, Telize will only listen on 127.0.0.1 and ::1. To add more listeners, bind directives should be added in conf/telize.conf in the server blocks.

Running

Using the kodev tool:

kodev run

Access logs

The default Telize configuration does not have logging enabled, it must be configured manually. There are commented out accesslog directives in conf/telize.conf for each domain block.

If your Telize instance produces lots of logs, Logswan might be of interest.

Telize and proxies

Telize handles the 'X-Forwarded-For' HTTP header if present, and returns data for the first IP address of the list.

CORS Support (Cross-origin resource sharing)

Telize has CORS enabled by default with the following policy:

Access-Control-Allow-Origin: *

Timezone offsets

Since version 3.0.0, Telize now dynamically calculates timezone offsets (UTC time offset) and adds data to the payload.

On Alpine Linux, the 'tzdata' package needs to be installed, otherwise localtime() will not return any data.

Usage

For complete API documentation and usage examples, please check the project site.

Get IP address in Plain text format

Get IP address in JSON format

Get IP address location in JSON format

Calling the API endpoint without any parameter will return the visitor IP address:

Appending an IP address as parameter will return location information for the given address:

License

Telize is released under the BSD 2-Clause license. See LICENSE file for details.

Author

Telize is developed by Frederic Cambus.

Resources

Project homepage: https://www.telize.com

Latest tarball release: https://www.statdns.com/telize/telize-3.0.1.tar.gz

GitHub: https://github.com/fcambus/telize

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].