{"id":30030103,"url":"https://github.com/dalenguyen/supawp-template","last_synced_at":"2026-04-29T16:08:24.910Z","repository":{"id":308291944,"uuid":"1032043631","full_name":"dalenguyen/supawp-template","owner":"dalenguyen","description":"Extension template for SupaWP plugin","archived":false,"fork":false,"pushed_at":"2025-08-05T05:10:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-05T07:09:22.153Z","etag":null,"topics":["supabase","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://techcater.com","language":"PHP","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/dalenguyen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-08-04T18:03:51.000Z","updated_at":"2025-08-05T05:11:09.000Z","dependencies_parsed_at":"2025-08-05T07:19:50.875Z","dependency_job_id":null,"html_url":"https://github.com/dalenguyen/supawp-template","commit_stats":null,"previous_names":["dalenguyen/supawp-template"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dalenguyen/supawp-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fsupawp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fsupawp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fsupawp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fsupawp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalenguyen","download_url":"https://codeload.github.com/dalenguyen/supawp-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalenguyen%2Fsupawp-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013887,"owners_count":26085325,"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-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["supabase","wordpress","wordpress-plugin"],"created_at":"2025-08-06T19:00:27.402Z","updated_at":"2025-10-13T01:20:03.928Z","avatar_url":"https://github.com/dalenguyen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SupaWP Template\n\nA WordPress plugin template for extending the [SupaWP plugin](https://techcater.com) with custom JavaScript and CSS functionality.\n\n## Description\n\nThis template provides a foundation for creating extensions to the SupaWP plugin, which integrates Supabase features with WordPress. The SupaWP plugin can be found at [https://techcater.com](https://techcater.com).\n\n## Features\n\n- **JavaScript Extension**: Add custom JavaScript functionality that integrates with SupaWP's authentication system\n- **CSS Customization**: Add custom styles to enhance the user interface\n- **Admin Integration**: Seamless integration with SupaWP's admin dashboard\n- **Hook System**: Utilizes SupaWP's `supawp_init` hook for proper initialization\n- **Clean Architecture**: Simple, maintainable code structure\n\n## Installation\n\n1. Download the template files\n2. Place them in your WordPress plugins directory: `/wp-content/plugins/supawp-template/`\n3. Activate the plugin through WordPress admin\n4. Ensure the main SupaWP plugin is installed and activated\n\n## Usage\n\n### JavaScript Customization\n\nEdit `js/supawp-template.js` to add your custom functionality:\n\n```javascript\nfunction initSupaWPTemplate(supabaseClient) {\n    // Your custom code here\n    supabaseClient.auth.onAuthStateChange((event, session) =\u003e {\n        if (event === 'SIGNED_IN') {\n            // Handle user sign in\n        }\n    });\n}\n```\n\n### CSS Customization\n\nEdit `css/supawp-template.css` to add your custom styles:\n\n```css\n/* Your custom styles here */\n.my-custom-class {\n    background-color: #f0f0f0;\n    padding: 10px;\n}\n```\n\n## File Structure\n\n```\nsupawp-template/\n├── init.php                          # Main plugin file\n├── includes/\n│   ├── public/\n│   │   └── class.supawp-template.php # Frontend functionality\n│   └── dashboard/\n│       └── class.supawp-template.php # Admin functionality\n├── js/\n│   ├── supawp-template.js            # Frontend JavaScript\n│   └── dashboard-supawp-template.js  # Admin JavaScript\n├── css/\n│   └── supawp-template.css           # Custom styles\n├── README.md                         # This file\n└── CHANGELOG.md                      # Version history\n```\n\n## Requirements\n\n- WordPress 5.0 or higher\n- SupaWP plugin (available at [https://techcater.com](https://techcater.com))\n- PHP 7.4 or higher\n\n## Support\n\nFor support with the main SupaWP plugin, visit [https://techcater.com](https://techcater.com).\n\n## Version\n\nCurrent version: 1.0.0\n\n## License\n\nThis template is provided as-is for extending the SupaWP plugin functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalenguyen%2Fsupawp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalenguyen%2Fsupawp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalenguyen%2Fsupawp-template/lists"}