Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yschimke/okurl
OkHttp Kotlin command line
https://github.com/yschimke/okurl
curl http2 https iterm2 jq okhttp osx
Last synced: 23 days ago
JSON representation
OkHttp Kotlin command line
- Host: GitHub
- URL: https://github.com/yschimke/okurl
- Owner: yschimke
- License: apache-2.0
- Archived: true
- Created: 2015-12-20T23:41:54.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T11:03:02.000Z (9 months ago)
- Last Synced: 2024-04-21T13:27:06.171Z (9 months ago)
- Topics: curl, http2, https, iterm2, jq, okhttp, osx
- Language: Kotlin
- Homepage:
- Size: 4.98 MB
- Stars: 125
- Watchers: 7
- Forks: 15
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - yschimke/okurl (⭐123) - cURL-like client based on OkHttp. (Recently Updated / [Oct 28, 2024](/content/2024/10/28/README.md))
README
# OkHttp Kotlin command line
[![Build Status](https://api.cirrus-ci.com/github/yschimke/okurl.svg)](https://cirrus-ci.com/github/yschimke/okurl)
A curl like client based on OkHttp with tight integration for Mac OSX
```
$ brew install yschimke/tap/okurl$ okurl --authorize twitter
$ okurl 'https://api.twitter.com/1.1/statuses/show.json?id=733545978398040064'
...
```If bash completion is installed at the same time, consider activating it with
```
Add the following line to your ~/.bash_profile:
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
```# Read the [Wiki](https://github.com/yschimke/okurl/wiki) for more information
## Requirements
- Java 8+
- Mac OSX (untested elsewhere)## Features
- Login (token generation) support and automatic authentication for
- Uber
- Javascript scripting support
- simple alias "twitterapi /1.1/statuses/user_timeline.json"
- OpenSC government smartcard support e.g. Estonian ID card
- OSX integration e.g. launch Preview for images and homebrew install
- HTTP/2 support and protocol selection## Future Development
- Support for more API authentication schemes, hopefully in a purely configuration driven manner
- Switch between different tokens