{"id":25209885,"url":"https://github.com/backdrop-contrib/gist_filter","last_synced_at":"2025-06-11T20:33:00.604Z","repository":{"id":178880702,"uuid":"662490180","full_name":"backdrop-contrib/gist_filter","owner":"backdrop-contrib","description":"Adds a filter to embed Gists from GitHub anywhere in the text on your Backdrop CMS site.","archived":false,"fork":false,"pushed_at":"2024-07-27T18:54:54.000Z","size":35,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"1.x-2.x","last_synced_at":"2025-02-10T13:18:47.025Z","etag":null,"topics":["backdrop","backdropcms","cms","filter","gist","gists","gists-files","github","input-filter"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/gist_filter","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backdrop-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-07-05T08:47:47.000Z","updated_at":"2024-07-27T18:54:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"07016617-c529-4c9a-833c-7cc95234fd8f","html_url":"https://github.com/backdrop-contrib/gist_filter","commit_stats":null,"previous_names":["backdrop-contrib/gist_filter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fgist_filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fgist_filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fgist_filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fgist_filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/gist_filter/tar.gz/refs/heads/1.x-2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247290716,"owners_count":20914728,"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":["backdrop","backdropcms","cms","filter","gist","gists","gists-files","github","input-filter"],"created_at":"2025-02-10T13:18:49.119Z","updated_at":"2025-04-05T05:24:52.830Z","avatar_url":"https://github.com/backdrop-contrib.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Gist Filter\n========\n\u003c!--\nThe first paragraph of this file should be kept short as it will be used as the\nproject summary on BackdropCMS.org. Aim for about 240 characters (three lines at\n80 characters each).\n\nAll lines in this file should be no more than 80 characters long for legibility,\nunless including a URL or example that requires the line to not wrap.\n|\u003c- - - - - - - This line is exactly 80 characters for reference - - - - - - -\u003e|\n\nDetail in READMEs should be limited to the minimum required for installation and\ngetting started. More detailed documentation should be moved to a GitHub wiki\npage; for example: https://github.com/backdrop-contrib/setup/wiki/Documentation.\n--\u003e\n\nGist Filter allows gists from Github to be embedded anywhere in the text using\na token format to embed as either a link, a 'code' block or embedded using one\nof a range of themes.\n\nInstallation\n------------\n\u003c!--\nList the steps needed to install and configure the module. Add/remove steps as\nnecessary.\n--\u003e\n\n- Install this module using the official Backdrop CMS instructions at\n  https://docs.backdropcms.org/documentation/extend-with-modules.\n- Enable the Gist Filter in each text format where you want to use it.\n- In the order of filters (weight) within each text format you use it, Gist\nFilter must come BEFORE\n[Token Filter](https://backdropcms.org/project/token_filter) and AFTER 'Limit\nallowed HTML tags'. The module will attempt to set this but double check this\nif you run into problems.\n\nUsage\n-------------\n\u003c!--\nLink to the repository's wiki if more documentation can be found there. Remove\nthis section if not needed (and consider disabling the wiki in the repo settings\nif not used).\n--\u003e\n\n1. From the text format configuration page, you can configure the default\ndisplay method for each text format.\n2. Within text using a filtered format where the filter is enabled, use the\nfollowing patterns:\n- `[gist:123abc456def7890]` - use the default display method.\n- `[gistcode:123abc456def7890]` - embed the gist within `\u003ccode\u003e` blocks.\n- `[gistlink:123abc456def7890]` - embed the gist as a link.\n- `[gistembed:123abc456def7890]` - embed the gist using a script.\nThe gist ID is the string after the gist owner. For the examples above the gist\nURL might be `https://gist.github.com/yorkshire-pudding/123abc456def7890`.\n3. To add a specific file use `[gist:123abc456def7890:myfile.sh]` or the\nequivalent with a `gistcode`, `gistlink` or `gistembed` prefix.\n4. Go to `/admin/config/content/gist-filter` where you can select a theme for\nthe embed display (you will need to clear the page cache to apply a change\nhere), and also add a GitHub Personal Access token to give your site a higher\nlimit for retrieving gists.\n5. The GitHub Personal Access token, if used, is stored in config. Do not use\nthis if your config is stored in a public repository.\n6. Clearing the 'Page and else' cache may be necessary to see the effects of a\nchange.\n\nFor further information, please visit the [Wiki](https://github.com/backdrop-contrib/gist_filter/wiki).\n\nIssues\n------\n\u003c!--\nLink to the repo's issue queue.\n--\u003e\n\nBugs and Feature Requests should be reported in the Issue Queue:\nhttps://github.com/backdrop-contrib/gist_filter/issues.\n\n\nCurrent Maintainers\n-------------------\n\u003c!--\nList the current maintainer(s) of the module, and note if this module needs\nnew/additional maintainers.\n--\u003e\n\n- [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk)\n- Collaboration and co-maintainers welcome!\n\nCredits\n-------\n\u003c!--\nGive credit where credit's due.\nIf this is a Drupal port, state who ported it, and who wrote the original Drupal\nmodule. If this module is based on another project, or uses third-party\nlibraries, list them here. You can also mention any organisations/companies who\nsponsored the module's development.\n--\u003e\n\n- Ported to Backdrop CMS by - [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk).\n- Port sponsored by [System Horizons](https://www.systemhorizons.co.uk).\n- Originally written for Drupal by [Jake Bell](https://www.drupal.org/u/theunraveler)\n- Incorporating several patches by various authors from the Drupal issue queue.\n- Gist Embed themes by [Will Boyd](https://github.com/lonekorean)\n\nLicense\n-------\n\u003c!--\nMention what license this module is released under, and where people can find\nit.\n--\u003e\n\nThis project is GPL v2 software.\nSee the LICENSE.txt file in this directory for complete text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fgist_filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fgist_filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fgist_filter/lists"}