• Stars
    star
    231
  • Rank 173,434 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Stocazzo As A Service

Stocazzo As A Service

A Node REST service to provide Stocazzo as an asset for your application.

API endpoints

/

Will return a "stocazzo".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "stograncazzo"

Example

Standard API call:

$ http get stocazzo.io

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "stocazzo"
}

Example with a query:

$ http get stocazzo.io q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "stocazzo"
}

Example with even more emphasis:

$ http get stocazzo.io q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "stograncazzo"
}

/caps

Will return a "stocazzo", but caps. So, "STOCAZZO".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "STOGRANCAZZO"

Example

Standard API call:

$ http get stocazzo.io/caps

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "STOCAZZO"
}

Example with a query:

$ http get stocazzo.io/caps q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "STOCAZZO"
}

Example with even more emphasis:

$ http get stocazzo.io/caps q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "STOGRANCAZZO"
}

/camel

Camelcase can always be useful. Will return a "StoCazzo".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "StoGranCazzo"

Example

Standard API call:

$ http get stocazzo.io/camel

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "StoCazzo"
}

Example with a query:

$ http get stocazzo.io/camel q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "StoCazzo"
}

Example with even more emphasis:

$ http get stocazzo.io/camel q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "StoGranCazzo"
}

/ascii

You want a translation in your language and you don't like text or you want print it more nerdly? No problem, will return "8====D".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "8=======D"

Example

Standard API call:

$ http get stocazzo.io/ascii

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "8====D"
}

Example with a query:

$ http get stocazzo.io/ascii q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "8====D"
}

Example with even more emphasis:

$ http get stocazzo.io/ascii q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "8=======D"
}

/snake

You don't like camelCase and you prefer the snake_case notation? No problem, will return "sto_cazzo".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "sto_gran_cazzo"

Example

Standard API call:

$ http get stocazzo.io/snake

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "sto_cazzo"
}

Example with a query:

$ http get stocazzo.io/snake q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "sto_cazzo"
}

Example with even more emphasis:

$ http get stocazzo.io/snake q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "sto_gran_cazzo"
}

/sto-conte

Tv series lover? This is the endpoint for you: it will return "Sto cazzo!". Heavily inspired by Corrado Guzzanti character in the great Italian tv series "Boris".

Optional parameters:

  1. q - a query
  2. big - configures the response as a "Sto gran cazzo!"

Example

Standard API call:

$ http get stocazzo.io/sto-conte

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "Sto cazzo!"
}

Example with a query:

$ http get stocazzo.io/sto-conte q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "Sto cazzo!"
}

Example with even more emphasis:

$ http get stocazzo.io/sto-conte q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "Sto gran cazzo!"
}

/varg

A gothic stocazzo version, reminiscing the classic black metal logos.

Optional parameters:

  1. q - a query
  2. big - even bolder

Example

Standard API call:

$ http get stocazzo.io/varg

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "response": "𝔖𝔗𝔒ℭ𝔄ℨℨ𝔒"
}

Example with a query:

$ http get stocazzo.io/varg q==chi\?

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "𝔖𝔗𝔒ℭ𝔄ℨℨ𝔒"
}

Example with even more emphasis:

$ http get stocazzo.io/varg q==chi\? big==1

HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Jan 2016 09:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding

{
    "query": "chi?",
    "response": "𝕾𝕿𝕺𝕮𝕬𝖅𝖅𝕺"
}

More Repositories

1

jovanotti

A fimple tranfcoding library from italian to fome ferious flang
JavaScript
74
star
2

hoverlord

Actor model library and concurrency primitives for NodeJS
JavaScript
18
star
3

cloudatgost

CloudAtCost API wrapper written in Go
Go
15
star
4

pacnews

Read the latest Arch Linux news in your terminal with a single command
Rust
13
star
5

siren

Your tiny friendly rusty neighborhood monitoring CLI tool, featuring Nagios/Sensu-compatible checks
Rust
9
star
6

dottorblaster.github.io

My blog. 🚀
CSS
9
star
7

burst

Easier front-matter YAML for Jekyll
Ruby
7
star
8

pipe

Easily pipe unary functions in JS
JavaScript
6
star
9

k8s-spiegato-a-mia-zia

Slides for the talk I gave
Vue
5
star
10

makeup_rust

Rust lexer for Makeup
Elixir
5
star
11

vaporbot-legacy

Tiny Telegram inline bot for vaporwave text conversion on the fly. (LEGACY VERSION - UNMAINTAINED)
Elixir
5
star
12

talisman

Elixir
4
star
13

wp-theme-flow

My WordPress theme all about content and a stunning profile pic
PHP
4
star
14

grocery

Tiny C webserver with resource adaption features
C
4
star
15

cauldron

A Pocket client for Linux
Rust
4
star
16

fork-you

Go Fork Yourself
3
star
17

tumbledown

Post markdown to Tumblr easily
JavaScript
3
star
18

corosync-config-parser

A Rust crate for hassle-free Corosync's configuration file parsing
Rust
3
star
19

exzalgo

E͕͖͐̄͢ĺ̷̷̛̥̤̟͞i̙̥̹ẋ͟i̢͖ͦ̊͆͢ŗ̻͈͔̯̦̅ͮͪ̕͝ ҉̀̾̄̉́͜l̻̳ï̡͐̓͘͢b͂ͧͣṙ̼̦̩͗̓ͧ҈̇͜a̬̺̳ͬ̚҉̨͕̦̄͂ṛ̵̹̤̿ͦͪ̒͛͢y͖̗͉̍̏͜ ̛̿t̸̨̬̰́ͦ̓̔͗̚ǫ̳͓̠ͬ͌̏ͬ̕ ̪̔ͫ͊̋̆̚͟m͎̿ḁ͙̝̄ͦ̎k̆͆͢e͚̳̜͑̈ͥͨ͠ ̤̕ÿͥ͝ơ͕̲̖̝̋́̓͘u̶̡̫͓͍ͧ͡r̗̅ͩͨ҉̷Ͱͅ ͑̓͜҈̺̦͎ͨͣ͟͜ş̠̦͉̔̐̚t̛̍r̂͘į̪n̶̞̤͈̲͌ͧ͐ͦ͟g̺͕̈͘ ̡̻̝p͖͊̊ͥ̎ͨ̎͡r͙҈a̙͂ͦ̌͐i̷̫̜͊ͬ͜҉s̷̴̽ȅ̡̩͎͇ͪ̽̊͌ͅ ̰̖̤ͮ̀t̡͈̚͠h̹̰ͤ̀̿͗̀͘ę̷͚̹̼̍̎̈͟͞͝ ̱̮̺ͯ̓̀̃ͭ͞l̨̜̂o͆̈҈̹r͔̣͕̼̘ͦͥ̆d͔͑ͬͧ͠
Elixir
3
star
20

enlarge

Dead simple string padding module with a funny name.
JavaScript
2
star
21

zuul

Dead simple API key authentication for Elixir
Elixir
2
star
22

dotfiles

My dotfiles.
Vim Script
2
star
23

tlint

Validation engine for the Trento Checks DSL
Rust
2
star
24

ASDProject

Mini project for my Algorithm Engineering exam.
Java
2
star
25

wp-theme-slate

Slate is a nice WordPress theme that lets you publish your content with an eye on typography and beautifulness.
PHP
2
star
26

glare

Simple web dashboard for Siren checks
Elixir
2
star
27

wp-theme-lean

Lean, a responsive WordPress theme focused on a lean approach to the content.
PHP
2
star
28

vaporbot

Tiny inline Telegram bot turning your text into vaporwave 凹ギー
Elixir
2
star
29

ddg-mindflow

A little search engine based on duckduckgo APIs: you say something, it lists some related stuff. Like your brain.
JavaScript
2
star
30

BlastersHomeTheme

Theme for Bl@ster's Home Wordpress installation
PHP
1
star
31

c-examples

Some C exercises related to (but not only) my OSes exam.
C
1
star
32

siren-agent

Dummy agent for Siren monitoring system
Rust
1
star
33

atefbot

"A te e famiglia"
Elixir
1
star
34

TrollKit

A simple Bash script to install Netkit easily
Shell
1
star
35

vaporstring

An elixir module that parses your strings into vaporwave
Elixir
1
star
36

kube-echo

Simple echo server meant to go inside a container on Kubernetes
JavaScript
1
star