All Projects → signavio → pimba

signavio / pimba

Licence: MIT license
Pimba is a minimalist command-line tool written in Go to publish and serve static files.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pimba

webapi
WAI based library for web api
Stars: ✭ 27 (+125%)
Mutual labels:  api-client, api-server
Openapi Generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Stars: ✭ 10,634 (+88516.67%)
Mutual labels:  api-client, api-server
purescript-swerve
Swerve is a library that offers a type-level DSL for describing server and client web applications. Inspired by Haskell's Servant library.
Stars: ✭ 20 (+66.67%)
Mutual labels:  api-client, api-server
drowsy
😪 Lazy integrations tool for RESTful interfaces to aid POC development and streamline integrations
Stars: ✭ 19 (+58.33%)
Mutual labels:  api-client, api-server
simple-php-api
An extremely simple API (with authentication) example, written in PHP (server) and JS (client), using JSON
Stars: ✭ 23 (+91.67%)
Mutual labels:  api-client, api-server
noire-server
Hapi Boilerplate
Stars: ✭ 20 (+66.67%)
Mutual labels:  api-client, api-server
go-typetalk
go-typetalk is a GO client library for accessing the Typetalk API.
Stars: ✭ 19 (+58.33%)
Mutual labels:  api-client
restofus
Restofus - a cross-platform (REST) API client.
Stars: ✭ 18 (+50%)
Mutual labels:  api-client
echovr api docs
Unofficial documentation for Echo VR's HTTP API
Stars: ✭ 19 (+58.33%)
Mutual labels:  api-client
redash-api-client
Redash API Client written in Python
Stars: ✭ 36 (+200%)
Mutual labels:  api-client
goco
Connecting to Google API has never been easier!
Stars: ✭ 14 (+16.67%)
Mutual labels:  api-client
clients-generator
Kaltura API Client Libraries Generator - PHP source code introspection based automation for API native SDKs generation for various programming languages and API platforms
Stars: ✭ 17 (+41.67%)
Mutual labels:  api-client
tesla api
Lightweight Python API client for the Tesla API.
Stars: ✭ 73 (+508.33%)
Mutual labels:  api-client
airtable
Airtable API Client for Go
Stars: ✭ 25 (+108.33%)
Mutual labels:  api-client
react-google-sheet
Pulling data from Google Sheets with React components
Stars: ✭ 24 (+100%)
Mutual labels:  api-client
connectapi
An R package for interacting with the RStudio Connect Server API
Stars: ✭ 26 (+116.67%)
Mutual labels:  api-client
nomisr
Access UK official statistics from the Nomis database through R.
Stars: ✭ 30 (+150%)
Mutual labels:  api-client
tiktok-scraper-php
Tiktok (Musically) PHP scraper
Stars: ✭ 65 (+441.67%)
Mutual labels:  api-client
CryptoCurrency.Net
CryptoCurrency.Net
Stars: ✭ 21 (+75%)
Mutual labels:  api-client
java-crud-api
No description or website provided.
Stars: ✭ 24 (+100%)
Mutual labels:  api-server

Pimba!

Pimba is a small and simple CLI tool to easily publish and serve static files.

Build Status

Install

Binary releases are available. Please, download the suitable binary for your system.

If you have Go installed, you may also build and install it using go get:

$ go get [-u] github.com/signavio/pimba

Serving

pimba api

To serve the Pimba API and the static files, execute:

$ pimba api --storage /path/to/data/storage --secret my-jwt-secret

The flag --secret is mandatory and it's the necessary key for signing tokens for pushing to the Pimba buckets.

It's also possible to set the port, passing the flag --port <port-number>.

For further help, execute pimba help api.

Pushing

pimba push

To push files to the Pimba server, first enter the directory that you would like to publish and execute:

$ cd /path/to/publish
$ pimba push --server pimba.server.host:port --name my-bucket-name

If the flag --name is not passed, Pimba will create a bucket with a random string as the name.

After you did the first push to your bucket, use the returned token to be able to update the bucket. Execute:

$ pimba push --server pimba.server.host:port --name my-bucket-name --token returned-token

Remember to save your token in a safe place, Pimba doesn't store tokens, thus meaning that if you lose the token the bucket will become inaccessible.

For further help on how to push, execute pimba help push.

Configuration

It's also possible to have a configuration file for Pimba. Refer to pimba.yaml.sample and create a config file .pimba.yaml in your home directory. The configuration file will set defaults based on your preferences.

$ cp pimba.yaml.sample $HOME/.pimba.yaml
$ vim $HOME/.pimba.yaml #edit as you like

Maintainers

Stephano Zanzin - @microwaves

Thanks to @jbreckel and @m1schka for the very lean docker image. 🦄

License

Pimba is released under the MIT license. See LICENSE.

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].