{"id":20773835,"url":"https://github.com/neurocracy/drupal-omnipedia-content","last_synced_at":"2026-04-24T19:33:49.172Z","repository":{"id":40605130,"uuid":"499690974","full_name":"neurocracy/drupal-omnipedia-content","owner":"neurocracy","description":"Provides content-related functionality for Omnipedia.","archived":false,"fork":false,"pushed_at":"2026-01-29T23:10:23.000Z","size":546,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"7.x","last_synced_at":"2026-01-30T11:41:06.827Z","etag":null,"topics":["drupal","drupal-module","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-content","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-04T01:00:50.000Z","updated_at":"2026-01-29T23:10:26.000Z","dependencies_parsed_at":"2023-10-01T20:58:24.402Z","dependency_job_id":"6113086d-6ffd-4118-aa65-f85ba8552916","html_url":"https://github.com/neurocracy/drupal-omnipedia-content","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neurocracy/drupal-omnipedia-content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurocracy","download_url":"https://codeload.github.com/neurocracy/drupal-omnipedia-content/tar.gz/refs/heads/7.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-content/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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:26.141Z","updated_at":"2026-04-24T19:33:49.158Z","avatar_url":"https://github.com/neurocracy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This contains the source files for the \"*Omnipedia - Content*\" Drupal module,\nwhich provides content-related functionality 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-content).*\n\n----\n\n# Description\n\nThis contains our content infrastructure that provides custom HTML elements for\nwiki content which gets rendered as standard HTML, and many alterations built on\ntop of [CommonMark](https://commonmark.thephpleague.com/) for our specific\nuse-cases.\n\n----\n\n# Requirements\n\n* [Drupal 10.3 or 11](https://www.drupal.org/download)\n\n* PHP 8.1\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`](https://github.com/Ambient-Impact/drupal-ambientimpact-core), [`ambientimpact_markdown`](https://github.com/Ambient-Impact/drupal-ambientimpact-markdown), and [`ambientimpact_ux`](https://github.com/Ambient-Impact/drupal-ambientimpact-ux) modules.\n\n* The [`omnipedia_core`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-core) and [`omnipedia_date`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date) modules.\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-content.git\",\n  \"only\": [\"drupal/omnipedia_content\"]\n}\n```\n\n### Installing\n\nOnce you've completed all of the above, run `composer require\n\"drupal/omnipedia_content:^7.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-content\": \"workspace:^7\"\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-content 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; includes backward compatible [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0) deprecation fixes but is still not fully compatible.\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  * Removes the `omnipedia_content_legacy` module; you can still find it in the 4.x branch.\n\n* 6.x:\n\n  * Requires [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0) due to non-backwards compatible change to [`\\Drupal\\Component\\EventDispatcher\\ContainerAwareEventDispatcher::dispatch()`](https://git.drupalcode.org/project/drupal/-/commit/7b324dd8f18919fc4d728bdb0afbcf27c8c02cb2#6e9d627c11801448b7a793c204471d8f951ae2fb).\n\n  * Removes PHP 7.4 support; Drupal 10 only supports PHP 8.\n\n  * Requires [`drupal/ambientimpact_core` 2.x](https://github.com/Ambient-Impact/drupal-ambientimpact-core/tree/2.x) for Drupal 10 support.\n\n  * Requires [`drupal/ambientimpact_markdown` 2.x](https://github.com/Ambient-Impact/drupal-ambientimpact-markdown/tree/2.x) for Drupal 10 support.\n\n* 7.x:\n\n  * Increased [`drupal/ambientimpact_ux` to 2.x](https://github.com/Ambient-Impact/drupal-ambientimpact-ux/tree/2.x) from 1.x.\n\n  * Removed the `omnipedia_tooltip` component and moved the functionality it provided (reparent tooltips) to [`omnipedia_site_theme`](https://gitlab.com/neurocracy/omnipedia/omnipedia-theme).\n\n  * Removed Symfony 4.x support; only Symfony 6.x is supported now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-content/lists"}