{"id":15629838,"url":"https://github.com/ryelle/anadama-react","last_synced_at":"2025-05-12T17:23:56.201Z","repository":{"id":142637559,"uuid":"46624788","full_name":"ryelle/Anadama-React","owner":"ryelle","description":"A react-based recipe theme for WordPress","archived":false,"fork":false,"pushed_at":"2017-02-21T16:09:05.000Z","size":117,"stargazers_count":245,"open_issues_count":1,"forks_count":28,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-12T17:23:47.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ryelle.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}},"created_at":"2015-11-21T17:04:06.000Z","updated_at":"2025-03-14T03:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7344ebc-efa3-45d1-961b-4314f00d43ad","html_url":"https://github.com/ryelle/Anadama-React","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryelle%2FAnadama-React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryelle%2FAnadama-React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryelle%2FAnadama-React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryelle%2FAnadama-React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryelle","download_url":"https://codeload.github.com/ryelle/Anadama-React/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253785273,"owners_count":21963938,"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":"2024-10-03T10:29:12.797Z","updated_at":"2025-05-12T17:23:56.164Z","avatar_url":"https://github.com/ryelle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Anadama\n=======\n\nA react-based recipe theme for WordPress.\n\nWant to try out the theme? Download or clone this repo into your `/themes` folder, then run a few npm scripts to install and build the javascript \u0026 CSS files. The process will look like this\n\n\tgit clone https://github.com/ryelle/Anadama-React anadama\n\tcd anadama\n\tnpm install\n\tnpm run dev\n\nNow you'll see a `js/app.js` file in the theme, and it will be available for you to switch to in wp-admin. If you're having trouble getting the theme active, please [file an issue](https://github.com/ryelle/Anadama-React/issues) \u0026 I'll help you out.\n\n_If you don't have npm or gulp installed, you can find instructions on their websites: [gulp](http://gulpjs.com/), [npm](http://npmjs.com)._\n\nSetup\n-----\n\nSince this is a more \"experimental\" theme, you'll need to have a few things set up before it'll work.\n\n1. You'll need the [WP REST API plugin version 2.0-beta13](https://wordpress.org/plugins/rest-api/). WP 4.4+ has the framework for the REST API, but the actual content of it still requires the plugin.\n2. You'll also need this [WP-API Menus plugin](https://wordpress.org/plugins/wp-api-menus/). The REST API doesn't provide an endpoint for menus, so another plugin is necessary.\n3. Your permalinks will need to be set to `/%year%/%monthnum%/%postname%/`. Single-post/page views will not work without permalinks set.\n\nDisplay \u0026 Features\n------------------\n\nThe front page of this theme displays 10 categories (ordered by term ID, which corresponds to date created) and the 20 most recent posts in each category. It uses localStorage to hold posts for offline/faster response time.\n\nThis theme has **no** sidebars, widgets, or comments.\n\nKnown Issues/To Do\n------------------\n\n - Sites that have no content won't appear to load, the loading message stays on-screen even after an empty server response.\n - Menu items have conditional classes in place, but they're not automatically applied (current page, parent, etc)\n - Work with Jetpack scripts to load (or not) when needed.\n - Make the recipe's \"Print\" button work (related to Jetpack scripts)\n - Responsive styles + a good print stylesheet for recipe pages\n - Cached data will stick around forever, maybe not the best idea for post list pages.\n - Category/Tag archives don't exist yet\n\nBuilding the Javascript \u0026 CSS\n-----------------------------\n\nCurrently this project uses gulp to build a CSS file from `sass/style.scss`, and webpack by way of gulp to build the javascript file from `js/index.js`. There are 3 ways to build (the CSS is done the same in all 3, no minification there currently):\n\n### `npm run dev`\n\nThis builds a development version of app.js, along with a sourcemap.\n\n### `npm run watch`\n\nThis builds the development version, then watches the Sass and JS files for any changes to automatically re-build.\n\n### `npm run build`\n\nThis builds the \"production\" version of the code, and is only here as an example of how to set up a production build. I don't recommend running Anadama as it is in production without your own testing (browser, device, etc).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryelle%2Fanadama-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryelle%2Fanadama-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryelle%2Fanadama-react/lists"}