kiarashplusplus / requestion

Requestion App is a search app for fact stickers, easily shareable with Snapchat and Instagram Stories.

Home Page:https://requestion.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo hosts the server side Firebase Functions and the public website content.

Sticker making happens by opening html templates in Puppeteer, a headless Chrome and taking a screenshot. Most of this logic is in functions/makeSticker.js and templates are in functions/templates.

Specially during initial user testing, sometimes we want to upload a set of static images as stickers for a query. This is done using Python/cached_query_from_static.py.

The server endpoints are implemented in functions/index.js:

  • /featured returns topic queries that we're currently user testing. (i.e. 2019 Women's World Cup)
  • /query returns at least one type of results (i.e. newsArticle) for any query.
  • /sticker returns a base64 sticker image via stickerId.
  • /alternatives returns alternative designs of a certain sticker.

TODO:

  • extend template.js with more types

About

Requestion App is a search app for fact stickers, easily shareable with Snapchat and Instagram Stories.

https://requestion.app


Languages

Language:HTML 45.0%Language:JavaScript 34.5%Language:CSS 14.3%Language:Python 6.1%