{"id":28282869,"url":"https://github.com/prathushan/wp-site-inspector","last_synced_at":"2025-06-17T06:30:48.669Z","repository":{"id":293505551,"uuid":"984260314","full_name":"prathushan/WP-Site-Inspector","owner":"prathushan","description":"A powerful admin-only tool that scans your active theme to list shortcodes, hooks, templates, APIs, post types, plugins used, and published content. Perfect for debugging and auditing complex or legacy WordPress projects.","archived":false,"fork":false,"pushed_at":"2025-06-12T06:09:30.000Z","size":162,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-12T07:26:26.131Z","etag":null,"topics":["code-mapping","custom-post-types","debugging","developer-tools","hook-inspector","php","plugin-development","shortcode","site-audit","theme-audit","theme-debugger","theme-development","wordpres-development","wordpress","wordpress-hooks","wordpress-plugin","wordpress-tools","wp-cli"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prathushan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2025-05-15T16:35:35.000Z","updated_at":"2025-06-12T06:09:33.000Z","dependencies_parsed_at":"2025-05-15T17:48:34.427Z","dependency_job_id":"7cd208d2-ba1f-445c-8924-0409a7bba33d","html_url":"https://github.com/prathushan/WP-Site-Inspector","commit_stats":null,"previous_names":["prathushan/wp-site-inspector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prathushan/WP-Site-Inspector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathushan%2FWP-Site-Inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathushan%2FWP-Site-Inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathushan%2FWP-Site-Inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathushan%2FWP-Site-Inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prathushan","download_url":"https://codeload.github.com/prathushan/WP-Site-Inspector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathushan%2FWP-Site-Inspector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260306338,"owners_count":22989585,"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":["code-mapping","custom-post-types","debugging","developer-tools","hook-inspector","php","plugin-development","shortcode","site-audit","theme-audit","theme-debugger","theme-development","wordpres-development","wordpress","wordpress-hooks","wordpress-plugin","wordpress-tools","wp-cli"],"created_at":"2025-05-21T16:13:44.080Z","updated_at":"2025-06-17T06:30:48.659Z","avatar_url":"https://github.com/prathushan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ WP Site Inspector — Your WordPress Debug \u0026 Discovery Co-Pilot\n\n**WP Site Inspector** is an open-source WordPress plugin for developers, freelancers, and agencies who need **instant insights** into what’s happening under the hood of any WordPress site.\n\nThink of it as your site’s x-ray machine — mapping everything from shortcodes and hooks to REST APIs, templates, and logs.\n\n\u003e ⚡ No more digging through files. No more flying blind.\n\n**👉 [⭐ Star us on GitHub](https://github.com/prathushan/WP-Site-Inspector)**  \n**🐞 [Report a Bug](https://github.com/prathushan/WP-Site-Inspector/issues)** · 💡 [Request a Feature](https://github.com/prathushan/WP-Site-Inspector/issues)\n\n![Site Inspector Screenshot](./assets/site-inspector.png)\n\n---\n\n## ✨ Features\n\n✅ Scan active and parent themes — *no setup needed*  \n✅ Instantly list shortcodes, hooks, templates, post types  \n✅ View full file paths \u0026 line numbers  \n✅ Detect REST API calls \u0026 CDN links  \n✅ Display all published pages, posts \u0026 CPTs  \n✅ Export results to `.xls`  \n✅ Admin-only access with security best practices  \n✅ Fatal error detection + email alerts  \n✅ Built-in AI chatbot for log analysis *(BYOK)*  \n✅ Multilingual UI: English, French, Spanish  \n✅ One-click full site `.zip` backup\n\n---\n\n## 🚀 Why Use It?\n\nIf you've ever said:\n\n\u003e “What’s even happening on this site?”  \n\u003e “Where is this shortcode defined?”  \n\u003e “What template is this page using?”  \n\u003e “Which plugin is breaking the homepage?”\n\nThen **WP Site Inspector** is made for you.\n\nPerfect for debugging legacy projects, onboarding new ones, or simply understanding someone else’s codebase — this plugin gives you **superpowers**.\n\n---\n\n## 🔍 Use Cases\n\n- 🧩 Auditing undocumented WP themes  \n- 🛠️ Debugging custom features with clarity  \n- 🔄 Refactoring old code safely  \n- 🤝 Handoff-ready documentation  \n- 📋 Exporting a complete technical site map  \n\n**Ideal for:**  \n🧑‍💻 Freelancers · 🧪 QA Engineers · 🏢 Agencies · 💡 WP Contributors · 👩‍🎓 Students\n\n---\n\n## 🤖 Smarter Debugging with AI (NEW!)\n\nBring intelligence to your debug flow using **AI Code Assistant** and **Code AI** — both powered by your own API key (BYOK).\n\n### 🔍  AI Code Assistant — Debug Smarter, Not Harder\n\n![Ask AI Screenshot](./assets/Ask-AI.png)\n\nIntegrate with:\n\n- 🔑 OpenAI (ChatGPT)  \n- 🔑 Anthropic (Claude)  \n- 🔑 DeepSeek, Gemini, or OpenRouter-compatible models\n\nAsk:\n\n\u003e “Why did this error happen?”  \n\u003e “Which plugin triggered this warning?”  \n\u003e “How do I fix this deprecated function?”\n\n🧠 It’s like **ChatGPT for your error logs** — secure, private, and built into WP.\n\n---\n\n### 💻 Code AI — Your AI Pair Programmer in WP\n\n![Code AI Screenshot](./assets/Code-AI.png)\n\nDirectly inside your theme and plugin files — BYOK-powered.\n\n- 🧩 Understand complex or legacy functions  \n- 🛠️ Refactor outdated logic  \n- 🧪 Spot bugs and security issues  \n- ✍️ Generate WP-specific snippets  \n- 🔍 Evaluate logs inline\n\n\u003e Example queries:  \n\u003e “What does this function do?”  \n\u003e “Rewrite this as a shortcode”  \n\u003e “Generate WP_Query for 5 products”\n\n⚙️ Powered by **your choice of LLM** — no vendor lock-in.\n\n![BYOK Illustration](./assets/byok.png)\n\n---\n\n## ✅ Unified BYOK Support\n\nNo subscriptions, no limits — just plug in your API key.\n\n**Supported models:**\n\n- OpenAI  \n- Anthropic  \n- DeepSeek  \n- OpenRouter  \n\nYour tools. Your rules.\n\n---\n\n## 📤 One-Click xls Export\n\nExport everything with a click — clean `.xls` format.\n\nGreat for:\n\n- 🧪 QA teams  \n- 🧾 Client reports  \n- 🔧 Dev handoffs  \n- 📁 Project docs\n\n---\n\n## 🌍 Multilingual Ready\n\nCurrently supports:\n\n- 🇬🇧 English  \n- 🇫🇷 French  \n- 🇪🇸 Spanish  \n\nUI adapts to your site’s language automatically — no setup needed.\n\n---\n\n## 🔄 One-Click Backup\n\nBack up your entire site — files + DB — in one click.  \nCreates a downloadable `.zip`. No extra plugins needed.\n\n---\n\n## 📦 Coming Soon\n\n- ⚡ AI-powered log auto-fix  \n- 🔍 Plugin folder scanner  \n- 📁 File/function filters  \n- 🧪 WP-CLI integration  \n- 🧠 AI-based fix suggestions  \n- 🗃️ Visual theme dependency map\n\n---\n\n## ⚙️ How to Install\n\n1. Download the `.zip` from GitHub  \n2. Go to `Plugins \u003e Add New \u003e Upload Plugin`  \n3. Upload and click **Install Now**, then **Activate**  \n4. Start inspecting via the WP Admin menu\n\n---\n\n## 🧠 Why We Built This\n\nWe created WP Site Inspector because:\n\n- WordPress sites grow messy — fast  \n- Devs spend hours asking “What’s active and why?”  \n- Legacy code makes debugging painful  \n\nThis plugin saves time, simplifies audits, and ensures smoother handoffs.  \nNo fluff. No guesswork. Just answers.\n\n---\n\n## 📃 License\n\nDistributed under the MIT License.\n\n---\n\n## 📬 Contact\n\nWe’d love your feedback or contributions!\n\n📧 Email: `prathusha.nammi@gmail.com`  \n🐛 GitHub: [Open an issue](https://github.com/prathushan/WP-Site-Inspector/issues)\n\n---\n\n## 🙌 Authors\n\n**Made with ❤️ by [Prathusha](https://github.com/prathushan), [Prem](https://github.com/PremKumar-Softscripts), and [Vinay](https://github.com/v-i-nay)**\n \n\n**Contributions welcome** 👉 [Open a PR or feature request](https://github.com/prathushan/WP-Site-Inspector/issues)\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathushan%2Fwp-site-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprathushan%2Fwp-site-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathushan%2Fwp-site-inspector/lists"}