{"id":27854859,"url":"https://github.com/genaker/magento-config-tool","last_synced_at":"2025-05-04T09:59:25.066Z","repository":{"id":275423551,"uuid":"925487970","full_name":"Genaker/magento-config-tool","owner":"Genaker","description":"Python script to manage magento config ","archived":false,"fork":false,"pushed_at":"2025-02-03T03:43:21.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T09:59:19.346Z","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/Genaker.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":"2025-02-01T01:36:10.000Z","updated_at":"2025-02-06T03:48:11.000Z","dependencies_parsed_at":"2025-02-02T12:35:25.828Z","dependency_job_id":"29f0f4b3-cddd-4b9f-957a-cfdefaabda67","html_url":"https://github.com/Genaker/magento-config-tool","commit_stats":null,"previous_names":["genaker/magento-config-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2Fmagento-config-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2Fmagento-config-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2Fmagento-config-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2Fmagento-config-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Genaker","download_url":"https://codeload.github.com/Genaker/magento-config-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252317081,"owners_count":21728526,"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-05-04T09:59:24.601Z","updated_at":"2025-05-04T09:59:25.051Z","avatar_url":"https://github.com/Genaker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento Config Tool 🛠️\n\nA **Python terminal-based Magento configuration management tool** that allows users to **search, edit, and manage** Magento's `core_config_data` table using a **curses-based CLI UI**.\n\n## 🚀 Features\n✅ **Search by Path** – Find Magento configurations by their `path`.  \n✅ **View All Records** – Paginated list of `core_config_data` entries.  \n✅ **Edit Configuration by ID** – Modify values in `core_config_data`.  \n✅ **View Database Configuration** – Fetch DB settings from `env.php`.  \n✅ **Curses-Based UI** – Keyboard-friendly navigation.  \n\n---\n\n## 📦 Installation\n\n### 1️⃣ **Install via `pip` (from PyPI)**\nOnce published, you can install it via:\n```sh\npip3 install magento-config-tool\n```\n### 1️⃣ **Install via `pip` (from Git)**\n```sh\npip3 install https://github.com/Genaker/magento-config-tool\n```\n\n### 2️⃣ **Install from Source**\nIf installing from a local clone:\n```sh\ngit clone https://github.com/yourusername/magento-config-tool.git\ncd magento-config-tool\npip3 install --editable .\n```\n\n---\n\n## 🛠 **Usage**\n\n### **Run the tool**\nAfter installation, run:\n```sh\nmage-conf\n```\n\n### **Keyboard Shortcuts**\n- **Arrow Keys (`↑` `↓`)** – Navigate the menu.\n- **Enter (`↵`)** – Select an option.\n- **ESC (`⎋`)** – Exit to the main menu.\n\n---\n\n## 📂 **Commands \u0026 Functionality**\n| Feature               | Description |\n|----------------------|------------|\n| **Search by Path** | Search for records in `core_config_data` by `path`. |\n| **Show All Records** | Displays a paginated list of all configuration records. |\n| **Edit by ID** | Edit any configuration value by entering its ID. |\n| **View DB Config** | Reads and displays Magento's DB credentials from `env.php`. |\n| **Exit** | Quit the application (ESC key). |\n\n---\n\n## ⚙️ **How It Works**\n### **1️⃣ Read Magento DB Configuration**\nThe tool automatically fetches database credentials from:\n```\napp/etc/env.php\n```\n### **2️⃣ Connect to Magento Database**\nIt connects using `SQLAlchemy` and `MySQL Connector`.\n\n### **3️⃣ Perform Queries on `core_config_data`**\n- Searches by **path**\n- Lists all records with **pagination**\n- Allows **editing** values\n\n---\n\n## 🏗 **Development**\n### **Clone and Run Locally**\n```sh\ngit clone https://github.com/yourusername/magento-config-tool.git\ncd magento-config-tool\npip3 install --editable .\nmage-conf\n```\n\n### **Build and Publish to PyPI**\n```sh\npython3 setup.py sdist bdist_wheel\npip3 install twine\nrm -rf build/ dist/ *.egg-info\npython3 -m build\ntwine upload dist/*\n```\n\n# Reinstall\n```sh\npip3 uninstall magento-config-tool\n## or\npip install --upgrade --force-reinstall magento-config-tool\n```\n\n---\n\n## 📝 **License**\nThis project is **open-source** and licensed under the **MIT License**.\n\n---\n\n### 👨‍💻 **Contributions \u0026 Support**\n💡 Have ideas or found an issue?  \nFeel free to **open an issue** or **submit a pull request** on GitHub!  \n\n🔗 **GitHub Repository**: [yourusername/magento-config-tool](https://github.com/yourusername/magento-config-tool)\n\n---\n**🚀 Now you can manage Magento configs right from your terminal using Python! 🔥**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fmagento-config-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenaker%2Fmagento-config-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fmagento-config-tool/lists"}