{"id":13678389,"url":"https://github.com/hunghg255/rspress-plugin-mention-github","last_synced_at":"2025-07-14T02:32:28.709Z","repository":{"id":243201985,"uuid":"811795224","full_name":"hunghg255/rspress-plugin-mention-github","owner":"hunghg255","description":"Rspress plugin mention","archived":false,"fork":false,"pushed_at":"2024-06-08T02:07:54.000Z","size":219,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-11T20:35:18.566Z","etag":null,"topics":["rspress","rspress-plugin"],"latest_commit_sha":null,"homepage":"https://rspress-plugin-mention-github.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hunghg255.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-06-07T10:12:34.000Z","updated_at":"2024-10-07T12:20:48.000Z","dependencies_parsed_at":"2024-06-12T06:43:48.933Z","dependency_job_id":null,"html_url":"https://github.com/hunghg255/rspress-plugin-mention-github","commit_stats":null,"previous_names":["hunghg255/rspress-plugin-mention-github"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Frspress-plugin-mention-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Frspress-plugin-mention-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Frspress-plugin-mention-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Frspress-plugin-mention-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunghg255","download_url":"https://codeload.github.com/hunghg255/rspress-plugin-mention-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225942791,"owners_count":17549088,"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":["rspress","rspress-plugin"],"created_at":"2024-08-02T13:00:53.074Z","updated_at":"2024-11-22T18:15:51.088Z","avatar_url":"https://github.com/hunghg255.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Rspress Plugins"],"readme":"\n# Rspress Plugin Mention Github\n\n\n![](https://private-user-images.githubusercontent.com/42096908/337617203-8892c2c8-91b4-42bd-9f5f-1f74fc2b5a8c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc4MTI2MTEsIm5iZiI6MTcxNzgxMjMxMSwicGF0aCI6Ii80MjA5NjkwOC8zMzc2MTcyMDMtODg5MmMyYzgtOTFiNC00MmJkLTlmNWYtMWY3NGZjMmI1YThjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA4VDAyMDUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkMzBmM2FhNjZkOGZmMjIxZTRiMWYxZGEyOGQyOTk1NTY5OTRkYTBjOWVlZGNjNzM1M2FkNzdkNTAyZDA0OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1onXuehfzTcELVxEFTQu0oebmhUjNJhrqKcDqAA8gB8)\n\n## Install\n\n```bash\nnpm i rspress-plugin-mention-github -D\n```\n\n## Config\n\n- Import css\n\n```css\n@import url('rspress-plugin-mention-github/style.css');\n```\n\n- Add plugin to `rspress.config.ts`\n\n\n```js\nimport * as path from 'path';\nimport { defineConfig } from 'rspress/config';\n\nimport rspressPlugMentionGithub from 'rspress-plugin-mention-github';\n\nexport default defineConfig({\n  plugins: [\n    rspressPlugMentionGithub()],\n});\n\n```\n\n## Write markdown\n\n- Mention github user\n\n```js\n{@web-infra-dev}\n```\n\n- or pass option link map\n\n```js\n{Web Infra Dev}\n```\n\n```js\nimport * as path from 'path';\nimport { defineConfig } from 'rspress/config';\n\nimport rspressPlugMentionGithub from 'rspress-plugin-mention-github';\n\nexport default defineConfig({\n  plugins: [\n    rspressPlugMentionGithub({\n      'Web Infra Dev': 'https://github.com/web-infra-dev',\n      'Rspack': {\n        link: 'https://github.com/web-infra-dev/rspack',\n        imageUrl: 'https://assets.rspack.dev/rspack/rspack-logo.svg'\n      },\n    })],\n});\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Frspress-plugin-mention-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunghg255%2Frspress-plugin-mention-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Frspress-plugin-mention-github/lists"}