{"id":15162520,"url":"https://github.com/stackcheats/sc-firebase-comments-source-plugin","last_synced_at":"2026-01-21T02:09:33.230Z","repository":{"id":65493150,"uuid":"365569672","full_name":"stackcheats/sc-firebase-comments-source-plugin","owner":"stackcheats","description":"A StackCheats (Gatsby) Source Plugin for Comments","archived":false,"fork":false,"pushed_at":"2021-05-16T06:44:18.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T10:23:23.262Z","etag":null,"topics":["comments","firebase","gatsby-plugin","source","stackcheats"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stackcheats.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}},"created_at":"2021-05-08T17:09:21.000Z","updated_at":"2021-05-16T06:46:07.000Z","dependencies_parsed_at":"2023-01-25T20:25:12.136Z","dependency_job_id":null,"html_url":"https://github.com/stackcheats/sc-firebase-comments-source-plugin","commit_stats":null,"previous_names":["stackcheats/stackcheats-source-firebase-comments"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackcheats/sc-firebase-comments-source-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcheats%2Fsc-firebase-comments-source-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcheats%2Fsc-firebase-comments-source-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcheats%2Fsc-firebase-comments-source-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcheats%2Fsc-firebase-comments-source-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackcheats","download_url":"https://codeload.github.com/stackcheats/sc-firebase-comments-source-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcheats%2Fsc-firebase-comments-source-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28622474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["comments","firebase","gatsby-plugin","source","stackcheats"],"created_at":"2024-09-27T02:00:17.372Z","updated_at":"2026-01-21T02:09:33.215Z","avatar_url":"https://github.com/stackcheats.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Comments\n\nA Gatsby source plugin to retrieve comments from Firebase\nfor StackCheats. Please find the plugin configurations and docs below.\n\n[:construction: Plugin Under Development]\n\n## Configure\n\nAdd the following plugin configuration in `gatsby-config.js` to activate the plugin\n\n```js\n{\n    resolve: `sc-firebase-comments`,\n    options: {\n        apiKey: process.env.FIREBASE_API_KEY,\n        authDomain: process.env.FIREBASE_AUTH_DOMAIN,\n        projectId: process.env.FIREBASE_PROJECT_ID,\n        storageBucket: process.env.FIREBASE_STORAGE_BUCKET,\n        messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,\n        appId: process.env.FIREBASE_APP_ID,\n        measurementId: process.env.FIREBASE_MEASUREMENT_ID,\n    },\n}\n```\n\nTo communicate with Firebase, the following configurations are required\n\n```sh\napiKey              API Key to communicate with the Firebase\nauthDomain          Firebase authentication domain\nprojectId           Firebase project ID\nstorageBucket       Firebase storage bucket that has been configured\nmessagingSenderId   Firebase messaging sender ID\nappId               Firebase application ID\nmeasurementId       Firebase measurement ID\n```\n\n## Firebase Collection\n\nThe collection (should be) is created and named as `comments` with the following document structure\n\n```json\n{\n    \"_parentId\": null,\n    \"author\": string,\n    \"slug\": string,\n    \"content\": string,\n    \"createdAt\": timestamp\n}\n```\n\n## Usage\n\nFollowing GraphQL can be used to retrieve the comments\n\n```graphql\nallStackCheatsComments(filter: { slug: { eq: $slug } }) {\n    edges {\n        node {\n            _id\n            _parentId\n            author\n            content\n            createdAt\n        }\n    }\n}\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcheats%2Fsc-firebase-comments-source-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackcheats%2Fsc-firebase-comments-source-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcheats%2Fsc-firebase-comments-source-plugin/lists"}