{"id":21247452,"url":"https://github.com/audrow/sta-website-post-loader","last_synced_at":"2025-03-15T05:15:09.158Z","repository":{"id":36966727,"uuid":"450554426","full_name":"audrow/sta-website-post-loader","owner":"audrow","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-07T07:02:26.000Z","size":1795,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T04:38:03.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@sta-podcast/post-loader","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/audrow.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":"2022-01-21T16:03:20.000Z","updated_at":"2022-02-07T00:03:46.000Z","dependencies_parsed_at":"2023-02-17T02:45:31.720Z","dependency_job_id":null,"html_url":"https://github.com/audrow/sta-website-post-loader","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audrow%2Fsta-website-post-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audrow%2Fsta-website-post-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audrow%2Fsta-website-post-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audrow%2Fsta-website-post-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/audrow","download_url":"https://codeload.github.com/audrow/sta-website-post-loader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685585,"owners_count":20330982,"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":"2024-11-21T02:34:34.382Z","updated_at":"2025-03-15T05:15:09.124Z","avatar_url":"https://github.com/audrow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis repo exposes posts through the `PostLoader` class, which loads all posts and their includes in a directory.\nPost data can be formatted in Typescript (and will be dynamically imported, which may not work in all settings) or YAML.\nNote that posts need to match the types in `PostFileData`, and the `getPost` method returns a `Post` or `SerializedPost` object, which has additional data inferred; for example:\n\n- SRT files are turned into lists of objects with who is speaking and the time they started\n- Outline files are turned into lists of objects with the time the started and the title\n- The MP3 url and the post url are inferred\n\nIn addition, a list of tags are computed for the posts and posts can be searched by tag.\n\nA convenient way to get an initialized `PostLoader` is to use the `createPostLoader` function that is the default export.\n\n## Setup\n\n### Install\n\n```bash\n$ npm install @sta-podcast/post-loader\n```\n\n### For Local Development\n\nClone this repo then run\n\n```bash\nnpm ci # clean install\nnpm run prepare # setup Git Hooks\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudrow%2Fsta-website-post-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faudrow%2Fsta-website-post-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudrow%2Fsta-website-post-loader/lists"}