Git Product home page Git Product logo

chicagomoontimes.com's Introduction

Chicago MoonTimes

The Chicago Moon-Times is the first, fully-automated satirical news site created to spread laughter and joy in the world. The site is powered by OpenAI’s ChatGPT and all content is satirical and not meant to be taken seriously. The site runs itself, with two to three articles generated every day based on recent national and local events.

The application was built using a React frontend and a Node.js backend, with articles stored on a Firebase Realtime Database and multiple APIs used for image and content generation. The site is hosted on Google Cloud.

chicagomoontimes.com's People

Contributors

alexjdean avatar

Stargazers

 avatar

Watchers

 avatar  avatar

chicagomoontimes.com's Issues

Batch Retrieval

Right now, in the getArticles() function on the backend, a query is being made to pull every article stored on the Firebase Realtime database. This can cause lag time as the number of articles scales, and it is highly unlikely a given user will view anything but the most 5-10 recent articles at a given time.

The issue here is to implement a batch retrieval of queries, combined with some kind of infinite scroll UI, gets about 8-10 articles at a time and waits for the user to scroll. This will make the application faster and reduce the number of unseen articles pulled, at the cost of more GET queries to my backend database.

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.