Skip to content

A tkinter app that generates a random affirmation. Record your thoughts and keep a journal of your affirmations journey!

Notifications You must be signed in to change notification settings

vansia43/affirmations-generator

Repository files navigation

Affirmations Generator

This project is a simple affirmations generator that provides the user with a random, thought-provoking affirmation. The app has a simple interface where the user can view an affirmation and then record their thoughts using the journal feature. Thoughts are saved to a text file the user can view and refer to as a journal of their progress.

Requirements

  • Python 3.x
  • requests module
  • json module
  • tkinter module
  • datetime module
  • Pillow module

Usage

  1. Click New Affirmation to generate a random affirmation.
  2. Enter your thoughts about the affirmation in the provided text entry field.
  3. Click Save Thoughts to save your thoughts to a text file. The text file is stored in the same location as the application. Thoughts are automatically saved in the following format.
    04/28/2023
     Affirmation: You got this
     My thoughts: Yes, I do!
    

Documentation

The code is documented using docstrings to provide details on each function's parameters, behavior, and expected return values.

Future Features

  • A new iteration could allow the user to generate affirmations based on a subject. This may require a different API where thoughts are tagged or some additional language processing to read through affirmations that match the desired topic.
  • It would also be helpful to have the thoughts journal display in another tkinter window or somwhere else in the app. The user could still have the option to view all thoughts in the text file for exporting or viewing elsewhere.

About

A tkinter app that generates a random affirmation. Record your thoughts and keep a journal of your affirmations journey!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published