Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonatan-ivanov/checkthat
Collection of checkers to test servers/services/etc. through REST API.
https://github.com/jonatan-ivanov/checkthat
hacktoberfest
Last synced: about 2 months ago
JSON representation
Collection of checkers to test servers/services/etc. through REST API.
- Host: GitHub
- URL: https://github.com/jonatan-ivanov/checkthat
- Owner: jonatan-ivanov
- Created: 2016-03-14T05:28:08.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T23:49:04.000Z (over 2 years ago)
- Last Synced: 2023-04-04T14:08:53.348Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Groovy
- Homepage: https://checkthat.herokuapp.com/url/https://github.com
- Size: 302 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://github.com/jonatan-ivanov/checkthat/actions/workflows/gradle.yml/badge.svg)](https://github.com/jonatan-ivanov/checkthat/actions)
# What's this?
Collection of checkers to test servers/services/etc. through Web API packed in a standalone jar. [Check Examples](#online-demo)# Requirements
* JDK 18# How to build it
`./gradlew build`# How to use it
## Run with Gradle
1. Build and start: `./gradlew bootRun`
2. Open your browser: [Check Examples](#local-demo)## Build and run it
1. Build: `./gradlew assemble`
2. Start: `java -jar build/libs/*.jar`
3. Open your browser: [Check Examples](#local-demo)# Examples
## Online demo
- Check http(s) endpoint: [https://checkthat.herokuapp.com/url/https://github.com](https://checkthat.herokuapp.com/url/https://github.com)
- Check open port: [https://checkthat.herokuapp.com/url/socket://github.com:80](https://checkthat.herokuapp.com/url/socket://github.com:80)
- Check host by ping: [https://checkthat.herokuapp.com/server/github.com](https://checkthat.herokuapp.com/server/github.com)
- Check open ports (only one port): [https://checkthat.herokuapp.com/socket/github.com:80](https://checkthat.herokuapp.com/socket/github.com:80)
- Check open ports (multiple ports): [https://checkthat.herokuapp.com/sockets/github.com:80..82](https://checkthat.herokuapp.com/sockets/github.com:80..82)## Local demo
- Check http(s) endpoint: [http://localhost:8080/url/https://github.com](http://localhost:8080/url/https://github.com)
- Check open port: [http://localhost:8080/url/socket://github.com:80](http://localhost:8080/url/socket://github.com:80)
- Check host by ping: [http://localhost:8080/server/github.com](http://localhost:8080/server/github.com)
- Check open ports (only one port): [http://localhost:8080/socket/github.com:80](http://localhost:8080/socket/github.com:80)
- Check open ports (multiple ports): [http://localhost:8080/sockets/github.com:80..82](http://localhost:8080/sockets/github.com:80..82)## Specify port
```
./gradlew bootRun -Dport=9000
java -Dport=9000 -jar build/libs/*.jar
```# Docker
- Build image: `./gradlew bootBuildImage`
- Build image and run: `./gradlew bootDockerRun`