{"id":33091755,"url":"https://github.com/scottopolis/wpIonic","last_synced_at":"2025-11-19T12:01:17.237Z","repository":{"id":73074229,"uuid":"31978575","full_name":"scottopolis/wpIonic","owner":"scottopolis","description":"Ionic 3.9.2 App with WordPress and WooCommerce integration","archived":false,"fork":false,"pushed_at":"2020-09-04T22:52:15.000Z","size":14907,"stargazers_count":386,"open_issues_count":5,"forks_count":173,"subscribers_count":52,"default_branch":"master","last_synced_at":"2024-06-20T15:05:15.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://scottbolinger.com/ionic-wordpress-app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottopolis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-03-10T19:55:33.000Z","updated_at":"2023-12-07T20:27:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0a9b3b3-6fa8-44e8-b283-797e38915294","html_url":"https://github.com/scottopolis/wpIonic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scottopolis/wpIonic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottopolis%2FwpIonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottopolis%2FwpIonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottopolis%2FwpIonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottopolis%2FwpIonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottopolis","download_url":"https://codeload.github.com/scottopolis/wpIonic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottopolis%2FwpIonic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285240542,"owners_count":27137943,"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-11-19T02:00:05.673Z","response_time":65,"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":[],"created_at":"2025-11-14T18:00:30.358Z","updated_at":"2025-11-19T12:01:17.232Z","avatar_url":"https://github.com/scottopolis.png","language":"TypeScript","funding_links":[],"categories":["And A Bunch More! (I am in the process of sorting these)"],"sub_categories":[],"readme":"# wpIonic\n\n## This project has not been maintained or updated in a while, it's probably best not to use it.\n\n*Completely rewritten and updated for Ionic 3.9.2 Feb 2018*\n\nA demo mobile app that uses the Ionic Framework, and integrates with WordPress through the WP-API.\n\nFeatures:\n\n- Gets posts through WP-API v2\n- WordPress login - needs SB App Integration plugin https://github.com/scottopolis/sb-app-integration\n- WooCommerce REST API v2 integration\n- Stripe payments\n- Pull to refresh\n- Infinite scroll\n- Lots more\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n \u003cimg width=\"400\" src=\"https://github.com/scottopolis/wpIonic/blob/master/wpionic-demo.gif\"\u003e\n\u003c/p\u003e\n\n## How to setup\n\nBlog post and tutorial here: http://scottbolinger.com/ionic-wordpress-app/\n\n- Install Ionic CLI tools https://ionicframework.com/docs/cli/\n- Clone this repository, and run npm install\n- Open providers/configure/configure.ts and enter your WordPress site url\n- If using WooCommerce, enter your auth key in configure.ts as described\n- To use Stripe payments, add your publishable key in app.module.ts\n- Install the SB App Integration plugin https://github.com/scottopolis/sb-app-integration\n- run ionic serve to see it in your browser\n\n## WooCommerce\n\nThis app uses basic authentication over SSL to pull products from the WooCommerce REST API.\n\nTo use the WooCommerce module, you must create a REST API key in WooCommerce: http://woocommerce.github.io/woocommerce-rest-api-docs/#authentication\n\nIn the app, go to providers/configure/configure.ts and change the Authorization header. This is a base64 encoded string of your consumer key and secret. You can generate these using btoa(key:secret), but keep in mind these are discoverable in your app files even in a signed native app package.\n\n\u003cstrong\u003eExample getting your auth header\u003c/strong\u003e\n\nconsumer key: ck_7af7efdb4ef8708b5f8d5ccdacbd1d8e8ce0f8d5\nconsumer secret: cs_8777f8b0de8435162162daf22f7e6944ab2bec40\n\nVisit \u003ca href=\"https://www.base64encode.org/\" target=\"_blank\"\u003ean online base64 encoder\u003c/a\u003e and enter your key and secret separated by a semi-colon:\n\nck_7af7efdb4ef8708b5f8d5ccdacbd1d8e8ce0f8d5:cs_8777f8b0de8435162162daf22f7e6944ab2bec40\n\nClick encode. Copy the encoded string that looks like this:\n\nY2tfN2FmN2VmZGI0ZWY4NzA4YjVmOGQ1Y2NkYWNiZDFkOGU4Y2UwZjhkNTpjc184Nzc3ZjhiMGRlODQzNTE2MjE2MmRhZjIyZjdlNjk0NGFiMmJlYzQw\n\nVisit providers/configure/configure.ts and change the return string in getAuth to:\n\nreturn 'Basic Y2tfN2FmN2VmZGI0ZWY4NzA4YjVmOGQ1Y2NkYWNiZDFkOGU4Y2UwZjhkNTpjc184Nzc3ZjhiMGRlODQzNTE2MjE2MmRhZjIyZjdlNjk0NGFiMmJlYzQw';\n\nIncluded features:\n\n- WP-API v2 and WooCommerce REST API v2 integration\n- Product list\n- Single product pages\n- Add to cart\n- Cart modal\n- Basic multi-step checkout\n- Stripe payments\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottopolis%2FwpIonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottopolis%2FwpIonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottopolis%2FwpIonic/lists"}