{"id":20773832,"url":"https://github.com/neurocracy/drupal-omnipedia-block","last_synced_at":"2026-04-19T22:33:04.319Z","repository":{"id":106914728,"uuid":"499690572","full_name":"neurocracy/drupal-omnipedia-block","owner":"neurocracy","description":"Provides various blocks for Omnipedia.","archived":false,"fork":false,"pushed_at":"2026-01-31T02:48:50.000Z","size":3748,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"6.x","last_synced_at":"2026-01-31T17:56:24.458Z","etag":null,"topics":["drupal","drupal-module","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-block","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurocracy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-04T00:58:08.000Z","updated_at":"2026-01-31T02:48:54.000Z","dependencies_parsed_at":"2023-09-27T12:42:12.574Z","dependency_job_id":"4a168f10-bd62-4668-a946-6f5eb79696b4","html_url":"https://github.com/neurocracy/drupal-omnipedia-block","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neurocracy/drupal-omnipedia-block","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurocracy","download_url":"https://codeload.github.com/neurocracy/drupal-omnipedia-block/tar.gz/refs/heads/6.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-block/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["drupal","drupal-module","php"],"created_at":"2024-11-17T12:27:25.815Z","updated_at":"2026-04-19T22:33:04.313Z","avatar_url":"https://github.com/neurocracy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This contains the source files for the \"*Omnipedia - Block*\" Drupal module,\nwhich contains various block plug-ins and related code for\n[Omnipedia](https://omnipedia.app/)\n\n⚠️ ***[Why open source? / Spoiler warning](https://omnipedia.app/open-source)***\n\n*Please note that [all development and issue tracking is done on \u003cimg src=\"https://gitlab.com/neurocracy/omnipedia/omnipedia/-/raw/main/docs/assets/gitlab/gitlab-logo.svg\" alt=\"The GitLab logo\" width=\"16\" height=\"16\"\u003e GitLab](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-block).*\n\n----\n\n# Requirements\n\n* [Drupal 10.5 or 11.2](https://www.drupal.org/download)\n\n* PHP 8.2\n\n* [Composer](https://getcomposer.org/)\n\n## Drupal dependencies\n\nBefore attempting to install this, you must add the Composer repositories as\ndescribed in the installation instructions for these dependencies:\n\n* The [`ambientimpact_core` module](https://github.com/Ambient-Impact/drupal-ambientimpact-core).\n\n* The following Omnipedia modules:\n\n  * [`omnipedia_changes`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-changes)\n\n  * [`omnipedia_content`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-content)\n\n  * [`omnipedia_core`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-core)\n\n  * [`omnipedia_date`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date)\n\n  * [`omnipedia_main_page`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-main-page)\n\n  * [`omnipedia_search`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-search)\n\n## Front-end dependencies\n\nTo build front-end assets for this project, [Node.js](https://nodejs.org/) and\n[Yarn](https://yarnpkg.com/) are required.\n\n----\n\n# Installation\n\n## Composer\n\n### Set up\n\nEnsure that you have your Drupal installation set up with the correct Composer\ninstaller types such as those provided by [the `drupal/recommended-project`\ntemplate](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates#s-drupalrecommended-project).\nIf you're starting from scratch, simply requiring that template and following\n[the Drupal.org Composer\ndocumentation](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates)\nshould get you up and running.\n\n### Repository\n\nIn your root `composer.json`, add the following to the `\"repositories\"` section:\n\n```json\n{\n  \"type\": \"vcs\",\n  \"url\": \"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-block.git\",\n  \"only\": [\"drupal/omnipedia_block\"]\n}\n```\n\n### Installing\n\nOnce you've completed all of the above, run `composer require\n\"drupal/omnipedia_block:^6.0@dev\"` in the root of your project to have\nComposer install this and its required dependencies for you.\n\n## Front-end assets\n\nTo build front-end assets for this project, you'll need to install\n[Node.js](https://nodejs.org/) and [Yarn](https://yarnpkg.com/).\n\nThis package makes use of [Yarn\nWorkspaces](https://yarnpkg.com/features/workspaces) and references other local\nworkspace dependencies. In the `package.json` in the root of your Drupal\nproject, you'll need to add the following:\n\n```json\n\"workspaces\": [\n  \"\u003cweb directory\u003e/modules/custom/*\"\n],\n```\n\nwhere `\u003cweb directory\u003e` is your public Drupal directory name, `web` by default.\nOnce those are defined, add the following to the `\"dependencies\"` section of\nyour top-level `package.json`:\n\n```json\n\"drupal-omnipedia-block\": \"workspace:^6\"\n```\n\nThen run `yarn install` and let Yarn do the rest.\n\n### Optional: install yarn.BUILD\n\nWhile not required, [yarn.BUILD](https://yarn.build/) is recommended to make\nbuilding all of the front-end assets even easier.\n\n----\n\n# Building front-end assets\n\nThis uses [Webpack](https://webpack.js.org/) and [Symfony Webpack\nEncore](https://symfony.com/doc/current/frontend.html) to automate most of the\nbuild process. These will have been installed for you if you followed the Yarn\ninstallation instructions above.\n\nIf you have [yarn.BUILD](https://yarn.build/) installed, you can run:\n\n```\nyarn build\n```\n\nfrom the root of your Drupal site. If you want to build just this package, run:\n\n```\nyarn workspace drupal-omnipedia-block run build\n```\n\n----\n\n# Major breaking changes\n\nThe following major version bumps indicate breaking changes:\n\n* 4.x - Front-end package manager is now [Yarn](https://yarnpkg.com/); front-end build process ported to [Webpack](https://webpack.js.org/).\n\n* 5.x:\n\n  * Requires Drupal 9.5 or [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0).\n\n  * Increases minimum version of [Hook Event Dispatcher](https://www.drupal.org/project/hook_event_dispatcher) to 3.1, removes deprecated code, and adds support for 4.0 which supports Drupal 10.\n\n* 6.x:\n\n  * Removed all use of the `omnipedia_commerce` module and removed it from dependencies.\n\n  * Removed the [`\\Drupal\\omnipedia_block\\Plugin\\Block\\Join` block](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-block/blob/5.x/src/Plugin/Block/Join.php); you can still find it in the 5.x and older branches.\n\n  * Removed all use of the `omnipedia_access` module and removed it from dependencies.\n\n  * Removed all use of the `permissions_by_term:access_result_cache` cache tag, removing reliance on the [Permissions by Term module](https://www.drupal.org/project/permissions_by_term).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-block/lists"}