{"id":30762727,"url":"https://github.com/bejamas/contentful-data-export-app","last_synced_at":"2025-09-04T15:47:37.876Z","repository":{"id":311839469,"uuid":"1045273661","full_name":"bejamas/contentful-data-export-app","owner":"bejamas","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-26T23:14:16.000Z","size":2126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-27T07:58:00.124Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bejamas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-08-26T23:10:12.000Z","updated_at":"2025-08-26T23:14:20.000Z","dependencies_parsed_at":"2025-08-27T08:02:28.708Z","dependency_job_id":"818b4365-3fe5-4ef5-9dcf-5c973d1921e2","html_url":"https://github.com/bejamas/contentful-data-export-app","commit_stats":null,"previous_names":["bejamas/contentful-data-export-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bejamas/contentful-data-export-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fcontentful-data-export-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fcontentful-data-export-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fcontentful-data-export-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fcontentful-data-export-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bejamas","download_url":"https://codeload.github.com/bejamas/contentful-data-export-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fcontentful-data-export-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273633198,"owners_count":25140773,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":[],"created_at":"2025-09-04T15:47:34.439Z","updated_at":"2025-09-04T15:47:37.853Z","avatar_url":"https://github.com/bejamas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Export App\n\nA Contentful app for exporting content types and their associated entries with references.\n\n## Features\n\n- List all available content types in your Contentful space\n- Select specific content types for export\n- Choose locale for content export\n- Download complete content export including references and assets\n- Built with Contentful UI library (@contentful/f36-components)\n- Next.js 15 app directory structure\n\n## Setup\n\n### 1. Install Dependencies\n\n```bash\nyarn install\n```\n\n### 2. Environment Variables\n\nCreate a `.env.local` file in the root directory with the following variables:\n\n```bash\n# Contentful Configuration\nCONTENTFUL_MANAGEMENT_TOKEN=your_management_token_here\n```\n\n**How to get these values:**\n\n- **MANAGEMENT_TOKEN**: Generate in Contentful under Settings \u003e API keys \u003e Content management tokens\n\n**Note**: Space ID and Environment ID are automatically detected from the frontend context and don't need to be configured.\n\n### 3. Run Development Server\n\n```bash\nyarn dev\n```\n\nThe app will be available at `http://localhost:3000`\n\n## Usage\n\n1. **Select Locale**: Choose the locale for content export\n2. **Select Content Types**: Check the content types you want to export\n3. **Export**: Click the export button to download all content as JSON\n\n## Export Format\n\nThe exported JSON file contains:\n\n- Export metadata (date, locale)\n- Selected content types with field definitions\n- All entries for selected content types\n- Referenced assets (images, files)\n- Reference tracking for nested content\n\n## API Endpoints\n\n- `POST /api/export` - Handles content export requests\n\n## Development\n\n### Available Scripts\n\n- `yarn dev` - Start development server\n- `yarn build` - Build for production\n- `yarn start` - Start production server\n- `yarn test` - Run tests\n- `yarn lint` - Run linting\n\n### Contentful App Integration\n\nThis app is designed to work as a Contentful app. Use the following commands:\n\n- `yarn create-app-definition` - Create app definition\n- `yarn add-locations` - Add app locations\n\n## Dependencies\n\n- Next.js 15\n- React 19\n- Contentful UI library (@contentful/f36-components)\n- Contentful Management SDK\n- TypeScript\n\n## Security Notes\n\n- Never commit your `.env.local` file\n- Keep your management token secure\n- The management token has full access to your space\n- Consider using environment-specific tokens for different deployments\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbejamas%2Fcontentful-data-export-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbejamas%2Fcontentful-data-export-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbejamas%2Fcontentful-data-export-app/lists"}