{"id":15007726,"url":"https://github.com/sagrsuri/vite-gist","last_synced_at":"2026-01-05T10:05:32.384Z","repository":{"id":255817088,"uuid":"853303538","full_name":"SagrSuri/vite-gist","owner":"SagrSuri","description":"NPM Package For Gist View","archived":false,"fork":false,"pushed_at":"2024-09-09T16:52:17.000Z","size":5066,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T08:22:43.020Z","etag":null,"topics":["gist","github-gist","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vite-gist","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SagrSuri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-06T11:48:26.000Z","updated_at":"2024-09-09T16:52:20.000Z","dependencies_parsed_at":"2024-09-09T20:14:55.499Z","dependency_job_id":null,"html_url":"https://github.com/SagrSuri/vite-gist","commit_stats":null,"previous_names":["sagrsuri/vite-gist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagrSuri%2Fvite-gist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagrSuri%2Fvite-gist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagrSuri%2Fvite-gist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagrSuri%2Fvite-gist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SagrSuri","download_url":"https://codeload.github.com/SagrSuri/vite-gist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238960854,"owners_count":19559358,"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":["gist","github-gist","npm-package"],"created_at":"2024-09-24T19:13:31.964Z","updated_at":"2025-10-30T11:31:58.306Z","avatar_url":"https://github.com/SagrSuri.png","language":"JavaScript","funding_links":["https://buymeacoffee.com/sagarsuri"],"categories":[],"sub_categories":[],"readme":"# Github Gist Viewing Package.\n\n#### [🙏 DONATE ](https://buymeacoffee.com/sagarsuri) ❤️\n\n![Alt text](https://github.com/SagrSuri/vite-gist/raw/main/assets/white.png)\n![Alt text](https://github.com/SagrSuri/vite-gist/raw/main/assets/dark.png)\n\n#### THIS PACKAGE YOU CAN USE IN YOUR REACT PROJECT\n\n## Install\n\n```bash\n  \n  npm i vite-gist\n\n```\n\n```\nuser need to install - npm install react-syntax-highlighter\n                     - user will also need to apply on react project tailwindcss\n```\n\n```Javascript\n\nimport React from 'react';\nimport {GistViewer} from 'vite-gist';\n\nconst App = () =\u003e (\n  \n  \u003cGistViewer\n        gistId=\"ca470df8811bcb90a37ab2233861bb04\"\n        containerClassName=\"bg-white dark:bg-black p-1\"\n        buttonClassName=\" text-black dark:text-white dark:bg-black mx-2 p-1 rounded-md\"\n        fontSizeButtonContainerClassName=\"flex justify-between px-8\"\n        toggleButtonClassName=\"text-xl dark:text-white dark:bg-black p-1 rounded-md\"\n        loaderClassName=\"text-center p-3 m-2 font-bold text-xl text-gray-600 dark:text-white\"\n        codeContainerClassName=\"p-4 rounded-md\"\n        themeStyle={null}\n        showLineNumbers={true}\n        fontSize=\"1rem\"\n        codeBackgroundColor=\"#f5f5f5\"\n      /\u003e\n);\n\n```\n\n```bash\n  npm i vite-gist@latest\n```\n\n```bash\n\n  npm i vite-gist@1.4.0\n\n```\n\n\n```bash\n  1. You Must Be Apply in Your React Project tailwindcss then can you also handle the design\n  2. Install react-icons\n  2 Install react-syntax-highlighter\n```\n\n```bash\n  You Need TO Install Use Tailwind Css in your project then will work properly design \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagrsuri%2Fvite-gist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagrsuri%2Fvite-gist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagrsuri%2Fvite-gist/lists"}