{"id":23938069,"url":"https://github.com/plebbit/plebbit-previewer","last_synced_at":"2025-07-08T02:40:35.385Z","repository":{"id":189592338,"uuid":"625349634","full_name":"plebbit/plebbit-previewer","owner":"plebbit","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-18T19:22:40.000Z","size":218,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T20:29:52.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/plebbit.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":"2023-04-08T20:53:38.000Z","updated_at":"2025-02-18T19:22:43.000Z","dependencies_parsed_at":"2025-01-06T02:18:45.452Z","dependency_job_id":"73d318e7-81ba-4264-8902-470cc5db0da5","html_url":"https://github.com/plebbit/plebbit-previewer","commit_stats":null,"previous_names":["plebbit/plebbit-previewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebbit%2Fplebbit-previewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebbit%2Fplebbit-previewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebbit%2Fplebbit-previewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebbit%2Fplebbit-previewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plebbit","download_url":"https://codeload.github.com/plebbit/plebbit-previewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415209,"owners_count":19797599,"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":[],"created_at":"2025-01-06T02:18:21.293Z","updated_at":"2025-02-24T03:40:44.424Z","avatar_url":"https://github.com/plebbit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Demo\n\nThe plebbit-previewer allows users to share links on sites like Twitter, Telegram, etc. and generate a preview. E.g. the URL https://plebbitapp.eth.limo/#/p/reddit-screenshots.eth/c/QmbJuRPxPhncxkiGLEcCaFvawoGuoZdrwp26aPNzkSUYHa becomes https://pleb.bz/p/reddit-screenshots.eth/c/QmbJuRPxPhncxkiGLEcCaFvawoGuoZdrwp26aPNzkSUYHa which will generate a preview and redirect the user to the app.\n\n### Params\n\n- /c/:commentCid\n- /p/:subplebbitAddress/c/:commentCid\n- /:commentCid\n- /p/:subplebbitAddress/c/:commentCid?redirect=plebchan.eth.limo\n\n### How to use\n\n```\nnpm install\nnpm run start\n```\n\n### How to use with docker\n\n```\nnpm install\nscripts/start-docker.sh\n```\n\n### config.js\n\nA javascript file like:\n\n```\nmodule.exports = {\n  port: 3924,\n  plebbitOptions: {\n    ipfsGatewayUrls: ['https://ipfs.io'],\n  },\n  // whitelisted sites that are allowed to redirect\n  // the first site is the default\n  redirects: [\n    'plebbitapp.eth.limo'\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplebbit%2Fplebbit-previewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplebbit%2Fplebbit-previewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplebbit%2Fplebbit-previewer/lists"}