{"id":15105657,"url":"https://github.com/rtfmkiesel/hugo-fedimojis","last_synced_at":"2026-01-20T10:32:31.577Z","repository":{"id":247170889,"uuid":"793792464","full_name":"rtfmkiesel/hugo-fedimojis","owner":"rtfmkiesel","description":"A Hugo module to add Mastodon emojis as shortcodes","archived":false,"fork":false,"pushed_at":"2025-09-10T22:40:05.000Z","size":79574,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T02:24:30.260Z","etag":null,"topics":["emoji","fediverse","hugo","hugo-module","mastodon"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtfmkiesel.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-29T21:55:25.000Z","updated_at":"2025-09-10T22:40:25.000Z","dependencies_parsed_at":"2024-07-07T04:58:50.544Z","dependency_job_id":null,"html_url":"https://github.com/rtfmkiesel/hugo-fedimojis","commit_stats":null,"previous_names":["rtfmkiesel/hugo-fedimojis"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rtfmkiesel/hugo-fedimojis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fhugo-fedimojis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fhugo-fedimojis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fhugo-fedimojis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fhugo-fedimojis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtfmkiesel","download_url":"https://codeload.github.com/rtfmkiesel/hugo-fedimojis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fhugo-fedimojis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["emoji","fediverse","hugo","hugo-module","mastodon"],"created_at":"2024-09-25T20:41:56.025Z","updated_at":"2026-01-20T10:32:31.556Z","avatar_url":"https://github.com/rtfmkiesel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hugo-fedimojis\nA [Hugo](https://gohugo.io/) module to add Mastodon emojis as shortcodes. This repo uses the [custom emojis](https://emojos.in/infosec.exchange?show_animated=true) of [infosec.exchange](https://infosec.exchange/), the instance where I have my account. \n\n*This was hacked together in like 2,5 hours, please have mercy*\n\n## Usage\n### Setup\nInside your hugo config add the following snippet and then run `hugo mod get`.\n\n```yaml\nmodule:\n  imports:\n    - path: \"github.com/rtfmkiesel/hugo-fedimojis\"\n```\n\n### Inserting Emojis\nInside your content, reference the emojis with a shortcode like the following:\n```md\n{{\u003c fm-ablobcatrave \u003e}}\n```\n\n### Styling\nI can recommend the following CSS to make them fit nicely inside a sentence:\n```css\n.fedimoji {\n\tdisplay: inline;\n\tmax-width: 1rem;\n\tmax-height: 1rem;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n}\n```\n\n### Local\nYou can use this module locally with emojis from your preferred Mastodon instance. \n```sh\ngit clone https://github.com/rtfmkiesel/hugo-fedimojis\ncd hugo-fedimojis\n\n# Clear out the current ones\nrm -rf images/*\nrm -rf layouts/shortcodes/*.html\n\n# Build the Hugo shortcodes\npython3 build.py -u \u003cYOUR MASTODON URL\u003e\n```\n\nThen add the module with:\n\n`hugo/config.yaml`\n```yaml\nmodule:\n  imports:\n    - path: \"github.com/rtfmkiesel/hugo-fedimojis\"\n```\n\n`hugo/go.mod` (Create if not already present)\n```\nmodule github.com/\u003cYOU\u003e/\u003cYOURBLOG\u003e\n\nreplace github.com/rtfmkiesel/hugo-fedimojis =\u003e \u003cABS PATH TO YOUR LOCAL MODULE\u003e\n\ngo 1.XXX\n\nrequire github.com/rtfmkiesel/hugo-fedimojis xxxxxx\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtfmkiesel%2Fhugo-fedimojis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtfmkiesel%2Fhugo-fedimojis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtfmkiesel%2Fhugo-fedimojis/lists"}