All Projects → mislavcimpersak → xkcd-excuse-generator

mislavcimpersak / xkcd-excuse-generator

Licence: MPL-2.0 license
Serverless image generator that uses XKCD comic as basis for _all_ excuses!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to xkcd-excuse-generator

Alexi5
A Discord Bot built using discordJS. Started as a joke for spamming memes. Branch "v2" is currently being used for active development. Hosted on Heroku.
Stars: ✭ 19 (-69.84%)
Mutual labels:  memes, joke, meme-generator
battle-of-wits
Show your friends you're the best in a BATTLE OF WITS!
Stars: ✭ 36 (-42.86%)
Mutual labels:  memes, meme-generator
libmeme
A library for inserting clap emoji into strings
Stars: ✭ 25 (-60.32%)
Mutual labels:  memes, meme-generator
HexBot
A Relatively Simply Awesome Discord bot with Music, Games, Comics, Memes and other cool features. This bot is made in Python 3.8 using discord.py
Stars: ✭ 109 (+73.02%)
Mutual labels:  memes, xkcd
FaaSNet
FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute (USENIX ATC'21)
Stars: ✭ 36 (-42.86%)
Mutual labels:  faas
esmBot-legacy
Discord bot with mostly entertainment functions (legacy version)
Stars: ✭ 16 (-74.6%)
Mutual labels:  memes
reaction-pics
Programming memes
Stars: ✭ 13 (-79.37%)
Mutual labels:  memes
CameraVoyeur
摄像头黑入器。(基于RickAstley论文实现)
Stars: ✭ 111 (+76.19%)
Mutual labels:  joke
honeypie
A FaaS for converting your Google Forms into an API.
Stars: ✭ 17 (-73.02%)
Mutual labels:  faas
TrollDB
An in-memory JavaScript database that prioritises performance over everything.
Stars: ✭ 29 (-53.97%)
Mutual labels:  joke
zappa-ffmpeg
Run ffmpeg inside a lambda for serverless transformations.
Stars: ✭ 14 (-77.78%)
Mutual labels:  zappa
qrcode
QR Code generator function for the FaaS Platform in #golang
Stars: ✭ 17 (-73.02%)
Mutual labels:  faas
xkcd-to-kindle
A Python script that downloads XKCD comics and converts them to a .mobi e-book
Stars: ✭ 15 (-76.19%)
Mutual labels:  xkcd
dankcli
CLI Image Captioning Tool or Meme Generator which automatically adds whitespace and text to top
Stars: ✭ 40 (-36.51%)
Mutual labels:  memes
serverless
BlueNimble is a Hybrid Serverless Platform focusing on developer productivity and application portability. Create and run scalable APIs and applications without coding or by coding less. Focus on application business logic without any knowledge of the underlying microservices architecture.
Stars: ✭ 30 (-52.38%)
Mutual labels:  faas
hook.io
Open-Source Microservice Hosting Platform
Stars: ✭ 1,259 (+1898.41%)
Mutual labels:  faas
hex
An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Stars: ✭ 48 (-23.81%)
Mutual labels:  faas
serverless-scaleway-functions
Plugin for Serverless Framework to allow users to deploy their serverless applications on Scaleway Functions
Stars: ✭ 58 (-7.94%)
Mutual labels:  faas
serverless-fission
Use Fission through Serverless Framework https://serverless.com
Stars: ✭ 19 (-69.84%)
Mutual labels:  faas
jupyterlab xkcd
Random xkcd comic in a JupyterLab panel
Stars: ✭ 30 (-52.38%)
Mutual labels:  xkcd

XKCD Excuse Generator

Generate your own excuse in a nifty comic style!

CircleCI Coverage Status


Go to xkcd-excuse.com and go from this:

to this:

using a simple form!


Originaly created as an example for Python Hrvatska meetup held on September 12, 2017 and for Python Belgrade meetup held on September 29, 2017 on which I gave a talk on serverless technology.


Error monitoring provided by Bugsnag ❤️

bugsnag


This repo is the backend part of the xkcd-excuse.com project. Code for the frontend part can be found in xkcd-excuse-front repo.

API Usage

If you are feeling extra wild you can use the API directly.

Send who, why and what with desired text as GET parameters to https://function.xkcd-excuse.com/v1/excuse

Example:

https://function.xkcd-excuse.com/v1/excuse/?who=programmer&why=my%20code%20is%20compiling&what=compiling

You get the simplest api response in the world:

{
    data: {
        image_url: "https://function.xkcd-excuse.com/media/50524f4752414d4d4552-4d5920434f444520495320434f4d50494c494e47-434f4d50494c494e47.png"
    }
}

Follow the given image_url value to get your excuse image.

Tech

Run with Python 3.6, created using Hug Framework, packaged with Zappa and served from AWS Lambda.

For frontend tech checkout the XKCD excuse front repo's README.

Infrastructure

Since this is a side project that will obviously never make any money, costs should idealy be minimal. Everything is served behind CloudFlare CDN, even the API that is served from AWS Lambda through AWS API Gateway. Frontend is served on Github Pages.

Legal

Original image

Original image created by Randall Munroe from XKCD.

Released under Creative Commons Attribution-NonCommercial 2.5 License.

Font

XKCD-Font created by iPython team.

Released under Creative Commons Attribution-NonCommercial 3.0 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].