{"id":18878286,"url":"https://github.com/uriel1998/khalo","last_synced_at":"2026-04-29T00:05:11.993Z","repository":{"id":147177259,"uuid":"205049794","full_name":"uriel1998/khalo","owner":"uriel1998","description":"A selfhosted way to create images with quotations using BASH and imagemagick","archived":false,"fork":false,"pushed_at":"2020-10-12T02:12:26.000Z","size":210,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T02:40:13.903Z","etag":null,"topics":["bash","fortunes","quotations"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/uriel1998.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}},"created_at":"2019-08-29T00:48:21.000Z","updated_at":"2023-09-04T02:44:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f0e0375-cebe-4f14-a4f6-29f9bf38fb99","html_url":"https://github.com/uriel1998/khalo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriel1998%2Fkhalo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriel1998%2Fkhalo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriel1998%2Fkhalo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriel1998%2Fkhalo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uriel1998","download_url":"https://codeload.github.com/uriel1998/khalo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239841730,"owners_count":19705980,"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","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":["bash","fortunes","quotations"],"created_at":"2024-11-08T06:25:38.959Z","updated_at":"2026-02-19T14:30:19.049Z","avatar_url":"https://github.com/uriel1998.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# khalo\nA selfhosted way to create images with quotations\n\n![Output example](https://raw.githubusercontent.com/uriel1998/khalo/master/output.jpg \"Example output\")\n\n## Contents\n 1. [About](#1-about)\n 2. [License](#2-license)\n 3. [Prerequisites](#3-prerequisites)\n 4. [How to use](#4-how-to-use)\n 5. [TODO](#5-todo)\n\n***\n \n## 1. About\n\nThese programs creates an image with text upon it from either a `fortune` file or a plain text file.  You can read the [blog post about it here.](https://ideatrash.net/?p=70844)\n\n## 2. License\n\nThis project is licensed under the MIT license. For the full license, see `LICENSE`.\n\n## 3. Prerequisites\n\n### These may already be installed on your system.\n\n * `imagemagick` command-line tool for manipulating images. `imagemagick` can be found on major Linux distributions.\n * `wget` command-line tool for downloading files. `wget` can be found on major Linux distributions.\n\n### Optional\n\n * `fortune` command-line tool for providing \"fortunes\". `fortune` can be found on major Linux distributions.\n * `slugify` if you wish to have filenames that mirror the text of the quotation. I used [slugify-cli](https://github.com/sindresorhus/slugify-cli), which is a node.js program. \n\n## 4. How to use\n\n * If you wish to use your fortune file and get one quotation a day, use `fortune_image.sh`.  As configured now, it will output one image to your `$HOME` directory.\n * If you wish to specify which fortune file to use, edit `Fortune=$(/usr/games/fortune)` to read `Fortune=$(/usr/games/fortune MyFortuneFile)`\n\n * If you wish to use a plain text file and output all of the quotations at once to your home directory, use `all_fortune_image.sh` with the text file as the first argument.\n * Note that you will have to edit the sizes on lines 23 and 30 to get different output sizes.\n\n## 5. Todo\n\n * TBH, I'm probably not going to clean this up a lot more; there are too many variables possible for me to account for all of them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiel1998%2Fkhalo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furiel1998%2Fkhalo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiel1998%2Fkhalo/lists"}