https://github.com/tizee/quotes
Quotes I collected from this world.
https://github.com/tizee/quotes
Last synced: 8 days ago
JSON representation
Quotes I collected from this world.
- Host: GitHub
- URL: https://github.com/tizee/quotes
- Owner: tizee
- Created: 2024-05-11T15:23:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T13:30:44.000Z (about 2 years ago)
- Last Synced: 2024-06-06T15:07:15.716Z (about 2 years ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quotes
A collection of quotes or excerpts that I found from this lovely world.
- quotes are in `json` format using schema defined in `schema.json`.
## Available Quote Collections
- ✅ KK's 99 advice
- ✅ Naval Ravikant on Wealth
- ✅ Naval Ravikant on Happiness
- ✅ Steve Jobs
- ✅ quotes on learning
- quote on style
- quote from tweet
- quote on unix
- quote from Alan Kay
- quote from songs
## Motivation
- I'd like to understand some quotes I like from reading. And through increasing the frequency of their appearance via `fortune` in terminal environment can remind me to apply the ideas I learn from them.
## Quick Start
### Prerequisites
- Python 3
- fortune (optional, for terminal integration)
```bash
brew install fortune # macOS
```
### Using Makefile
The repository includes a Makefile for common tasks:
```bash
# Validate JSON files, format code, and install fortune data
make all
# Validate all quote JSON files
make check-json
# Format and lint Python code with ruff
make style
# Install quotes into fortune data directory
make fortune
# Clean output directory
make clean
# Clean all generated files (output + fortune)
make mrproper
```
## Fortune
### Manual Installation
If you prefer manual installation:
```bash
python3 generate.py --fortune
./scripts/install_fortune.sh
```
## Roadmap
- ✅ `fortune` strings format
- [ ] Web UI
- [ ] backend quote service