Skip to content

Pan7her77/random.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Random Wisdom Generator

This is a simple JavaScript project that generates a random piece of wisdom along with a personalized intro and a reflective prompt. It's designed to offer quick insight, spark thought, or add some philosophical flavor to your day.


Features

  • Randomly selects:
    • An opening statement (e.g., "Your Quote of the day is...")
    • A quote from philosophers like Aristotle, Socrates, and Marcus Aurelius
    • A follow-up reflective prompt to help you think deeper

How to Run

Make sure you have Node.js installed.

  1. Clone the repo or download the file
  2. Navigate to the folder in your terminal
  3. Run the script:

bash node random.js

Each time you run the script, you’ll get a new combination of intro, quote, and reflection.

Example Output

The Word of the day is: "You have power over your mind - not outside events. Realize this, and you will find strength. - Marcus Aurelius, Meditations"

What deeper question does this quote invite you to explore?

Ideas for the Future Add categories (Stoicism, Ancient Greece, etc.)

Build a web version

Let users add their own quotes

Schedule daily messages with a cron job or desktop notification

Philosophy Behind the Project This generator draws from the timeless wisdom of great thinkers to give you daily inspiration. Whether you’re into philosophy, journaling, or just love a good quote, this project is here to vibe with your growth.

Author Ayomide Olayori Built with intention, learning, and a touch of ancient wisdom.

About

Codecademy random message generator project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published