Skip to content

The Measured Gazette is an automated news generation platform that uses AI to gather information and create unbiased articles based on the latest events. Powered by LLM's the system queries sources every 12 hours to write dynamic, depolarized stories.

Notifications You must be signed in to change notification settings

james-t-larson/measured-gazette-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Measured Gazette API

The Measured Gazette API is an automated platform that uses LLM's to gather and generate unbiased news articles based on the latest events. The system queries online sources every 12 hours to create dynamic news stories.


Features

  • AI-powered content generation: Uses GPT to generate news articles from real-time event data.
  • Real-time updates: Automatically fetches new information every 12 hours and generates new stories.
  • REST API: Provides an API to query the stories and associated content.

Table of Contents


Additional Resources


Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/measured-gazette-api.git
    cd measured-gazette-api
  2. Install dependencies:

    bundle install
  3. Set up PostgreSQL:

    Make sure you have PostgreSQL installed. If not, you can install it on Manjaro with:

    sudo pacman -S postgresql 

    Initialize the PostgreSQL Database (if this is your first time setting it up):

    sudo -iu postgres initdb --locale=en_US.UTF-8 -D /var/lib/postgres/data

    Start the PostgreSQL Service:

    sudo systemctl start postgresql

    Enable PostgreSQL to Start on Boot (recommended):

    sudo systemctl enable postgresql
  4. Create the application database:

    Run the following commands to set up the database:

    rails db:create
    rails db:migrate
    rails db:seed
  5. Set up secrets:

    TODO

  6. Start the Rails server:

    rails server

About

The Measured Gazette is an automated news generation platform that uses AI to gather information and create unbiased articles based on the latest events. Powered by LLM's the system queries sources every 12 hours to write dynamic, depolarized stories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published