Coder Social home page Coder Social logo

bay.lgbt's Introduction

bay.lgbt

an lgbt events aggregator for the SF bay!
yes!

The bay.lgbt story (filled with, choices)

  • anarchism.nyc is pretty neat! I wonder if the bay has one
  • let's rewrite the codebase, (โœจ but using a frontend framework that might deprecate in a few years โœจ)
  • let's spend an unreasonable amount of time making it look pretty, before getting any functionality xd
  • let's have the client fetch everything; too lazy to get a server run (haha)
  • CORS, my old friend... time look for a free CORS proxy :3
  • wow the rate limit for Eventbrite sucks. I also don't want client auth...
  • ok fine let's make a server
  • ...what if we also added server-side rendering?
  • ...what if... we hosted on Vercel, despite being in debt?
  • stale-while-revalidate arc: let's add excessive caching & rate limits so i can sleep at night
  • why does everyone use Instagram for events?
  • Please stop using Instagram for events. Please stop using Instagram for events. (x100)
  • to parse Instagram posts for anything resembling a structured event format, we would probably need to use GPT
  • we should also DB server to cache the results so I don't bleed money from OpenAI calls. But Vercel is serverless, so can't use sqlite... pain....
  • why do some Instagram posts... only include event information in the image??
  • Please stop using Instagram for events. Please stop using Instagram for events. (x100)
  • let's add an OCR AI API ๐Ÿซ 
  • stares at Google's labyrinthian docs for 3 hours figuring out how to get auth
  • ok, it works! but any of these calls might fail... let's sketchily add caching at each step
  • (Please stop using Instagram for events. Please stop using Instagram for events.) (x10)
  • suddenly running into Vercel's 10 sec timeout for Free tier (why does Eventbrite take so long??): more pain ๐Ÿ˜€. Fork $20/mo to Vercel for a 60 sec timeout instead
  • open beta! (๊ˆ โ€ฟ ๊ˆ โœฟ)
  • surprise surprise: Instagram's API is once again causing issues- 200 requests per hour (per user, of which there is 1 in this case). let's spread out the requests but milk that limit as much as possible.
  • adds many various other APIs (Wix, Squarespace, With Friends, etc.)- not too bad but fearful that APIs make change/break at any time, haha...
  • adds a frightening number of event sources all around the bay
  • realize the potential endless API hell I've gotten myself into- takes a cold shower and puts up Donation link

Development

TODO

Funding

Donations to keep bay.lgbt running are appreciated! Transparently, here are the costs to maintain the site:

  • Domain: $7.5/mo
  • Verce1: $20/mo
  • OpenAI: ~$10/mo
  • Google Vision OCR: ~$5/mo

bay.lgbt's People

Contributors

bytewife avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.