Skip to content

Host Your Own Journaling App with OpenAI RAG Summarizer - Allows you to log daily life events, thoughts, and happenings through a text box on the landing page, store the data in a local SQLite database, and visualize a summary of the past day, month, or year using OpenAI's API for generating summaries and advice

Notifications You must be signed in to change notification settings

raghavan/Life-Logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Host Your Own Journaling App with OpenAI RAG Summarizer

  • A Python-based web application for logging daily life events, thoughts, and happenings.
  • Stores log entries in a local SQLite database.
  • Generates summaries and artistic images based on the logged entries using OpenAI's GPT-3.5-turbo and DALL-E models.
  • Provides options to view summaries for today, this month, or this year, along with a generated image representation.
  • Allows viewing all log entries ever created.
Screenshot 2024-03-16 at 9 22 01 AM

Life Log

A Python-based web application for logging and summarizing daily life events, thoughts, and happenings.

Features

  • Log daily life events, thoughts, and happenings through a user-friendly interface.
  • Store log entries in a local SQLite database.
  • Generate summaries of logged entries for today, this month, or this year using OpenAI's GPT-3.5-turbo model.
  • Create artistic image representations of the summaries using OpenAI's DALL-E model.
  • View all log entries ever created.

Requirements

  • Python 3.x
  • Flask
  • OpenAI Python library
  • SQLite3

Installation

  1. Clone the repository:

    git clone https://github.com/raghavan/Life-Logs.git
    
  2. Set up your OpenAI API key:

    • Sign up for an OpenAI account and obtain an API key.
    • Replace "YOUR_OPENAI_API_KEY" in app.py with your actual OpenAI API key.

Usage

  1. Run the application:

    python app.py
    
  2. Access the application in your web browser at http://localhost:5000.

  3. Use the provided interface to log your daily life events, thoughts, and happenings.

  4. Select a period (today, this month, or this year) and click "Get Summary" to generate a summary and an artistic image representation of the logged entries.

  5. View all your log entries in the "All Entries" section.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Feel free to customize the README file based on your specific project details, such as adding more sections, including usage examples, or providing additional information about the application.

About

Host Your Own Journaling App with OpenAI RAG Summarizer - Allows you to log daily life events, thoughts, and happenings through a text box on the landing page, store the data in a local SQLite database, and visualize a summary of the past day, month, or year using OpenAI's API for generating summaries and advice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published