{"id":29630842,"url":"https://github.com/LeadCMS/gatsby.source.leadcms","last_synced_at":"2025-07-21T11:06:39.671Z","repository":{"id":65338289,"uuid":"590141724","full_name":"LeadCMS/gatsby.source.leadcms","owner":"LeadCMS","description":"Seamlessly pull AI-powered LeadCMS content into your Gatsby site in seconds.","archived":false,"fork":false,"pushed_at":"2025-03-24T04:53:36.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T21:45:53.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://leadcms.ai","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/LeadCMS.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,"zenodo":null}},"created_at":"2023-01-17T18:42:53.000Z","updated_at":"2025-05-09T10:07:47.000Z","dependencies_parsed_at":"2024-03-27T12:47:03.042Z","dependency_job_id":"01a58d1b-8de9-4091-ba14-ad30710aabcd","html_url":"https://github.com/LeadCMS/gatsby.source.leadcms","commit_stats":null,"previous_names":["leadcms/gatsby.source.leadcms","peterliapin/gatsby-source-onlinesales"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LeadCMS/gatsby.source.leadcms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeadCMS%2Fgatsby.source.leadcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeadCMS%2Fgatsby.source.leadcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeadCMS%2Fgatsby.source.leadcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeadCMS%2Fgatsby.source.leadcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeadCMS","download_url":"https://codeload.github.com/LeadCMS/gatsby.source.leadcms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeadCMS%2Fgatsby.source.leadcms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266287824,"owners_count":23905461,"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-07-21T11:06:38.784Z","updated_at":"2025-07-21T11:06:39.656Z","avatar_url":"https://github.com/LeadCMS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-source-onlinesales\n\nDownloads posts data from [OnlineSales backend](https://github.com/peterliapin/onlinesales.core) And saves them to be processed later with `gatsby-transformer-remark`\n\nThils plugin will create gatsby nodes with types:\n\n- OnlineSalesPost - for entities with type \"post\"\n- OnlineSalesPage - for entities with other types\n- OnlineSalesImage - file node for an image extracted from entity markdown body\n\nand additional attribues:\n\n- id\n- slug\n- language\n- images\n\nAttributes can be used in page template filename:\n\n    blog/\n    \t{OnlineSalesPost.slug}.tsx\n\n# Install\n\n    npm install gatsby-source-onlinesales\n\n# How to setup\n\n    {\n    \tresolve:  \"gatsby-source-onlinesales\",\n    \t  options: {\n    \t\t\tprepareUrl: (url) =\u003e (url.startsWith(\"http\") ? url : \"${process.env.GATSBY_URL}${url}\"),\n    \t\t\turl:  \"${process.env.GATSBY_API_POSTS}\",\n    \t\t},\n    },\n\n# Options\n\n`postUrl` : url to query posts for example: `https://onlinesales.test/api/posts`\n`prepareUrl`: method to process images link with\n\n# Supported versions\n\n|          | ASCII       |\n| -------- | ----------- |\n| Gatsby 5 | `Unknown`   |\n| Gatsby 4 | `Supported` |\n| Gatsby 3 | `Unknown`   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeadCMS%2Fgatsby.source.leadcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeadCMS%2Fgatsby.source.leadcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeadCMS%2Fgatsby.source.leadcms/lists"}