{"id":25005488,"url":"https://github.com/proxlight/proxttk","last_synced_at":"2025-07-31T22:06:38.826Z","repository":{"id":251893358,"uuid":"838767569","full_name":"Proxlight/Proxttk","owner":"Proxlight","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-09T15:12:31.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T00:41:22.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Proxlight.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}},"created_at":"2024-08-06T09:53:39.000Z","updated_at":"2024-08-09T15:12:33.000Z","dependencies_parsed_at":"2024-08-06T11:47:10.435Z","dependency_job_id":"1581fd0c-7198-4388-8443-ed2c05b9a243","html_url":"https://github.com/Proxlight/Proxttk","commit_stats":null,"previous_names":["proxlight/proxttk"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Proxlight%2FProxttk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Proxlight%2FProxttk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Proxlight%2FProxttk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Proxlight%2FProxttk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Proxlight","download_url":"https://codeload.github.com/Proxlight/Proxttk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254147,"owners_count":20747949,"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":[],"created_at":"2025-02-05T00:40:23.636Z","updated_at":"2025-03-29T23:15:47.778Z","avatar_url":"https://github.com/Proxlight.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ **Proxttk**: Terminal-Based GUI Application Builder\n\nWelcome to **Proxttk**, the ultimate terminal-based tool for designing and generating Tkinter-based GUI applications! 🚀 With Proxttk, you can quickly prototype your GUI, set up widgets, and generate clean Tkinter code directly from the command line.\n\n![Proxttk Logo](https://github.com/Proxlight/Proxttk/blob/main/Logo.png) \u003c!-- Replace with your resized logo URL --\u003e\n\n#### Crafted With ❤️ By Pratyush Mishra\n## Features\n\n- **📐 Set Application Size**: Easily define your app's dimensions.\n- **🖍️ Add Widgets**: Include buttons, labels, entries, and textboxes.\n- **🖼️ Add Image Widgets**: Use images for interactive buttons with hover effects.\n- **✏️ Rounded Entries**: Design sleek, rounded text input fields.\n- **🌆 Background Image**: Set a background image to enhance your app's appearance.\n- **💾 Generate Code**: Preview and save your Tkinter code.\n- **🚀 Run Application**: Execute your generated code right from the terminal.\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.x\n- Pillow (PIL) library\n- Tkinter library\n\n### Installation\n\n1. **Clone the Repository:**\n\n   ```sh\n   git clone https://github.com/yourusername/proxttk.git\n   ```\n\n2. **Navigate to the Project Directory:**\n\n   ```sh\n   cd proxttk\n   ```\n\n3. **Install Dependencies:**\n\n   ```sh\n   pip install pillow\n   ```\n\n### Usage\n\n1. **Run Proxttk:**\n\n   ```sh\n   python proxttk.py\n   ```\n\n2. **Follow the Terminal Prompts:**\n\n   - **Set Application Name**: Define the name of your application.\n   - **Set Application Size**: Specify the dimensions of your window.\n   - **Add Widget**: Choose and customize widgets like buttons, labels, and more.\n   - **Add Button with Image**: Incorporate images into buttons with hover effects.\n   - **Add Rounded Entry**: Create stylish rounded text entries.\n   - **Set Background Image**: Add a background image to your application.\n   - **Generate Code**: Preview the Tkinter code generated by your inputs.\n   - **Export Code as .py File**: Save the code as a `.py` file.\n   - **Run Generated Application**: Execute the saved code to see your app in action.\n   - **Exit**: Close the terminal application builder.\n\n### Example\n\nHere's an example of a Tkinter application generated by Proxttk. This example includes an image-based button with hover effects:\n\n```python\nimport tkinter as tk\nfrom tkinter import PhotoImage\nfrom PIL import Image, ImageTk\n\nclass App:\n    def __init__(self, root):\n        root.title(\"MyApp\")\n        root.geometry(\"800x600\")\n        root.resizable(False, False)  # Make the window non-resizable\n\n        # Load and resize image for the button\n        img = Image.open(\"button_image.png\")\n        img = img.resize((150, 75), Image.LANCZOS)\n        button_image = ImageTk.PhotoImage(img)\n\n        button = tk.Button(root, image=button_image, borderwidth=0, highlightthickness=0, relief=\"flat\")\n        button.place(x=100, y=100, width=150, height=75)\n        button.image = button_image  # Keep a reference to avoid garbage collection\n\n        # Hover image effect\n        hover_img = Image.open(\"button_hover_image.png\")\n        hover_img = hover_img.resize((150, 75), Image.LANCZOS)\n        button_hover_image = ImageTk.PhotoImage(hover_img)\n\n        def on_enter(event):\n            button.config(image=button_hover_image)\n\n        def on_leave(event):\n            button.config(image=button_image)\n\n        button.bind(\"\u003cEnter\u003e\", on_enter)\n        button.bind(\"\u003cLeave\u003e\", on_leave)\n        button.hover_image = button_hover_image  # Keep a reference to avoid garbage collection\n\nif __name__ == \"__main__\":\n    root = tk.Tk()\n    app = App(root)\n    root.mainloop()\n```\n\nIn this example, the application window is 800x600 pixels, featuring a button with an image that changes when hovered over. \n\n![Example App](https://github.com/Proxlight/Proxttk/blob/main/Demo.png) \u003c!-- Replace with your example image URL --\u003e\n\n## Contributing\n\nWe welcome contributions! If you'd like to help out, please fork the repository and submit a pull request. For issues or feature requests, open an issue on GitHub.\n\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\u003csmall\u003e\u003cem\u003e© Proxlight 2024\u003c/em\u003e\u003c/small\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxlight%2Fproxttk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproxlight%2Fproxttk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxlight%2Fproxttk/lists"}