{"id":20056938,"url":"https://github.com/benbinbin/bloginote-copy-files-module","last_synced_at":"2026-02-20T17:32:16.373Z","repository":{"id":191600537,"uuid":"685082849","full_name":"Benbinbin/bloginote-copy-files-module","owner":"Benbinbin","description":"copy files to public folder for Nuxt 3 (extract the module from Bloginote which is a Nuxt Content 2 template)","archived":false,"fork":false,"pushed_at":"2024-10-30T15:32:28.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T21:03:40.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Benbinbin.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}},"created_at":"2023-08-30T13:33:44.000Z","updated_at":"2024-10-30T15:34:21.000Z","dependencies_parsed_at":"2023-08-30T16:29:10.522Z","dependency_job_id":null,"html_url":"https://github.com/Benbinbin/bloginote-copy-files-module","commit_stats":null,"previous_names":["benbinbin/bloginote-copy-files-module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Benbinbin/bloginote-copy-files-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fbloginote-copy-files-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fbloginote-copy-files-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fbloginote-copy-files-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fbloginote-copy-files-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Benbinbin","download_url":"https://codeload.github.com/Benbinbin/bloginote-copy-files-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fbloginote-copy-files-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29658373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-13T12:57:04.413Z","updated_at":"2026-02-20T17:32:16.343Z","avatar_url":"https://github.com/Benbinbin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bloginote-copy-files-module\n\ncopy files to public folder for Nuxt 3 (extract the module from [Bloginote](https://github.com/Benbinbin/BlogiNote) which is a Nuxt Content 2 template)\n\n## Quick Setup\n\n1. Add `bloginote-copy-files-module` dependency to your project\n\n```bash\n# Using pnpm\npnpm add -D bloginote-copy-files-module\n\n# Using yarn\nyarn add --dev bloginote-copy-files-module\n\n# Using npm\nnpm install --save-dev bloginote-copy-files-module\n```\n\n2. Add `bloginote-copy-files-module` to the `modules` section of `nuxt.config.ts`\n\n```ts\nexport default defineNuxtConfig({\n  modules: [\n    'bloginote-copy-files-module'\n  ]\n})\n```\n\n3. Setting some options for this Module\n\n```ts\nexport default defineNuxtConfig({\n  modules: [\n    'bloginote-copy-files-module'\n  ],\n  // set the following (optional) properties for the module\n  bloginoteCopyFiles: {\n    // the array contain the folder to clean before copy the files\n    // the default value is empty array []\n    cleanFolders: ['public/article'];\n    // set the source folder to copy (it will copy all the files inside this folder to the destination folder)\n    // the default value is 'content'\n    sourceFolder: 'content';\n    // set the destination folder\n    // the default value is 'public'\n    destFolder: 'public';\n    // set the ignore types of file, they won't be copied\n    // the default value is ['.md', '.json', '.csv']\n    ignoreTypes: ['.md', '.json', '.csv'];\n  }\n})\n```\n\nor using the inline syntax\n\n```ts\nexport default defineNuxtConfig({\n  modules: [\n    ['bloginote-copy-files-module', { cleanFolders: ['public/article'] }]\n  ]\n})\n```\n\nThat's it! You can now use bloginote-copy-files-module in your Nuxt app ✨\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbinbin%2Fbloginote-copy-files-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbinbin%2Fbloginote-copy-files-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbinbin%2Fbloginote-copy-files-module/lists"}