{"id":31021326,"url":"https://github.com/shresht7/quotes-cli","last_synced_at":"2025-09-13T11:18:12.816Z","repository":{"id":303497070,"uuid":"866209965","full_name":"Shresht7/quotes-cli","owner":"Shresht7","description":"A super simple CLI application to display inspirational quotes in the terminal.","archived":false,"fork":false,"pushed_at":"2025-07-07T23:18:34.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T01:30:25.907Z","etag":null,"topics":["cli","command-line","quotes"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shresht7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-01T20:49:12.000Z","updated_at":"2025-07-07T23:18:32.000Z","dependencies_parsed_at":"2025-07-08T01:30:28.548Z","dependency_job_id":"dc3030bb-8997-4c35-bedd-0502f582ff21","html_url":"https://github.com/Shresht7/quotes-cli","commit_stats":null,"previous_names":["shresht7/quotes-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Shresht7/quotes-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fquotes-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fquotes-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fquotes-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fquotes-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shresht7","download_url":"https://codeload.github.com/Shresht7/quotes-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fquotes-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274955448,"owners_count":25380665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","quotes"],"created_at":"2025-09-13T11:18:10.840Z","updated_at":"2025-09-13T11:18:12.801Z","avatar_url":"https://github.com/Shresht7.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `quotes`\n\nA super simple CLI application to display inspirational quotes in the terminal.\n\n## 📘 Usage\n\n```sh\nquotes --filepath ./quotes.csv --border \"-\" --border-color red\n```\n\n```\n-------------------------------------------\nWise is the man who knows he knows nothing.\n -- Socrates\n-------------------------------------------\n```\n\n### 📖 Help\n\n```\nUsage: quotes [SUBCOMMAND] [OPTIONS]\n\nSubcommands:\n  random                       Show a random quote\n  get \u003cid\u003e                     Get a specific quote by ID\n  list                         List all quotes\n  create                       Add a new quote\n      --text                       The quote text (optional)\n      --author                     The author name (optional)\n  edit                         Opens the data-source file in the default editor\n  delete \u003cid\u003e                  Delete a specific quote by ID\n  search \u003ckeyword\u003e             Search for quotes by keyword\n      --text                       Search only in quote text\n      --author                     Search only in author name\n  help                         Show the help message\n  version                      Show the version number\n\nOptions:\n  -f, --filepath \u003cpath\u003e        Path to the CSV file containing quotes (default: quotes.csv)\n  -s, --style                  The ansi styles/colors for the quote text\n  --author-style               The ansi styles/colors for the author\n  -m, --margin \u003cnumber\u003e        The number of lines to leave as margin (default: 1)\n  -b, --border \u003cchar\u003e          Border character (default: '=')\n  --border-color \u003ccolor\u003e       Color for the border (default: 'default')\n  --quotes                     Surround the quote with quotation marks\n  --no-borders                 Disables borders\n  --no-color / --plain         Plain output\n  --format                    The format to use for the output (`csv`, `json`, `default`)\n\n  -h, --help                   Show the help message\n  -v, --version                Show the version number\n\nExamples:\n  quotes\n  quotes random\n  quotes --margin 2 --color cyan\n```\n\n---\n\n## ⚙️ Configuration\n\nThe application can be configured using a `config.json` file located at `~/.config/quotes-cli/config.json` on all operating systems.\n\nThis file allows you to set default values for the various styling and output options. Command-line arguments will always override the settings in the config file.\n\nExample (`config.json`):\n\n```json\n{\n  \"filepath\": \"~/Documents/my-quotes.csv\",\n  \"style\": \"italic,yellow\",\n  \"author_style\": \"green\",\n  \"border\": \"*\",\n  \"border_color\": \"blue\",\n  \"margin\": 1,\n  \"no_borders\": false,\n  \"surround_with_quotes\": true,\n  \"output_format\": \"default\"\n}\n```\n\n---\n\n## 📂 Source File Format\n\nThe application supports two file formats for quotes: CSV and JSON.\n\n### CSV Format (`.csv`)\n\nThe CSV file should have two columns: `quote` and `author`. The first row is expected to be a header and will be skipped.\n\nExample (`quotes.csv`):\n\n```csv\nquote,author\n\"The only true wisdom is in knowing you know nothing.\",\"Socrates\"\n\"Be yourself; everyone else is already taken.\",\"Oscar Wilde\"\n```\n\n### JSON Format (`.json`)\n\nThe JSON file should be an array of objects, where each object has a `quote` and an `author` field.\n\nExample (`quotes.json`):\n\n```json\n[\n  {\n    \"quote\": \"The only true wisdom is in knowing you know nothing.\",\n    \"author\": \"Socrates\"\n  },\n  {\n    \"quote\": \"Be yourself; everyone else is already taken.\",\n    \"author\": \"Oscar Wilde\"\n  }\n]\n```\n\n---\n\n## 📄 License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshresht7%2Fquotes-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshresht7%2Fquotes-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshresht7%2Fquotes-cli/lists"}