{"id":23564273,"url":"https://github.com/qrexpy/fade2","last_synced_at":"2025-07-25T07:38:48.131Z","repository":{"id":269725246,"uuid":"908265277","full_name":"qrexpy/fade2","owner":"qrexpy","description":"Add beautiful color gradients to your terminal text. 🌈","archived":false,"fork":false,"pushed_at":"2025-05-04T20:35:42.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T12:49:35.606Z","etag":null,"topics":["ascii","fade","gradient","linux","python","terminal","text","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qrexpy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-25T16:11:17.000Z","updated_at":"2025-05-04T20:35:45.000Z","dependencies_parsed_at":"2025-05-16T09:31:29.085Z","dependency_job_id":null,"html_url":"https://github.com/qrexpy/fade2","commit_stats":null,"previous_names":["qrexpy/fade2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qrexpy/fade2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2Ffade2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2Ffade2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2Ffade2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2Ffade2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qrexpy","download_url":"https://codeload.github.com/qrexpy/fade2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2Ffade2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266773231,"owners_count":23982070,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ascii","fade","gradient","linux","python","terminal","text","windows"],"created_at":"2024-12-26T17:13:42.471Z","updated_at":"2025-07-25T07:38:48.119Z","avatar_url":"https://github.com/qrexpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fade2 🎨✨\n\nA revamped version of [venaxyt's fade project](https://github.com/venaxyt/fade) with more features and improved stability. Fade2 allows you to add beautiful color gradients to your terminal text. 🌈\n\n## Features 🚀\n\n### Gradient Effects\n- **Horizontal Gradients** - color transitions across each line\n- **Linear Gradients** - smooth transitions across entire text\n- **Vertical Gradients** - different colors for each line\n- **Rainbow Effects** - smooth color spectrum transitions\n- **Animated Effects** - dynamic color animations\n\n### Technical Features\n- Easy to use API\n- Smooth color transitions using HSV color space\n- Supports ANSI escape sequences on Windows\n- Customizable gradient options\n\n## Installation 📦\n\nYou can install Fade2 using pip:\n\n```sh\npip install fade2\n```\n\n## Usage 🛠️\n\nHere is an example of how to use Fade2 in your Python code:\n\n```python\nfrom fade2 import purplepink, rainbow, pulse\n\n# Basic gradient\ntext = \"Hello, World!\"\ncolored_text = purplepink(text)\nprint(colored_text)\n\n# Rainbow effect\nrainbow_text = rainbow(\"\"\"\n    ╔═══════════════════════════╗\n    ║  Smooth Rainbow Gradient  ║\n    ╚═══════════════════════════╝\n\"\"\")\nprint(rainbow_text)\n\n# Animation effect (clears terminal)\npulse(\"This text will pulse with color!\", cycles=2, delay=0.05)\n```\n\n## Function Reference 📚\n\n### Horizontal Gradients\n\nThese functions apply a gradient across each line of text, character by character.\n\n| Function | Description |\n|----------|-------------|\n| `blackwhite(text)` | Black to white gradient |\n| `purplepink(text)` | Purple to pink gradient |\n| `greenblue(text)` | Green to blue gradient |\n| `pinkred(text)` | Pink to red gradient |\n| `purpleblue(text)` | Purple to blue gradient |\n| `water(text)` | Water-like blue gradient |\n| `fire(text)` | Fire-like gradient |\n| `brazil(text)` | Brazil flag colors gradient |\n| `random(text)` | Random colors for each character |\n\n### Linear Gradients\n\nThese functions apply a single gradient across the entire text.\n\n| Function | Description |\n|----------|-------------|\n| `linear_blackwhite(text)` | Linear black to white gradient |\n| `linear_purplepink(text)` | Linear purple to pink gradient |\n| `linear_fire(text)` | Linear fire gradient |\n| `linear_custom(starthex, endhex, text)` | Custom linear gradient using hex colors |\n\n### Vertical Gradients\n\nThese functions apply different colors to each line.\n\n| Function | Description |\n|----------|-------------|\n| `vertical_purplepink(text)` | Vertical purple to pink gradient |\n\n### Rainbow Effects\n\n| Function | Description |\n|----------|-------------|\n| `rainbow(text)` | Smooth rainbow color spectrum across text |\n\n### Animated Effects\n\n| Function | Description |\n|----------|-------------|\n| `pulse(text, cycles=3, delay=0.1)` | Creates a pulsing animation effect |\n\n## Examples\n\n### Rainbow Effect\n```python\nfrom fade2 import rainbow\n\nbanner = \"\"\"\n╔═══════════════════════════════════════════════╗\n║                                               ║\n║        Fade2 - Terminal Text Gradients        ║\n║                                               ║\n╚═══════════════════════════════════════════════╝\n\"\"\"\n\nprint(rainbow(banner))\n```\n\n### Custom Linear Gradient\n```python\nfrom fade2 import linear_custom\n\n# Blue to green gradient\ntext = \"This is a custom gradient\"\nprint(linear_custom(\"#0000FF\", \"#00FF00\", text))\n```\n\n## License 📄\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Author 👤\n\nCreated by [Qrexxed](https://github.com/qrexpy).\n\nEnjoy using Fade2! 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrexpy%2Ffade2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqrexpy%2Ffade2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrexpy%2Ffade2/lists"}