{"id":51436931,"url":"https://github.com/dpasca/chatnext-ads-content","last_synced_at":"2026-07-05T07:30:28.299Z","repository":{"id":310994671,"uuid":"1041179668","full_name":"dpasca/chatnext-ads-content","owner":"dpasca","description":"Promotional content for ChatNext custom reward ads system","archived":false,"fork":false,"pushed_at":"2025-11-09T00:33:43.000Z","size":27064,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-09T02:29:56.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dpasca.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-20T05:24:39.000Z","updated_at":"2025-11-09T00:33:47.000Z","dependencies_parsed_at":"2025-08-21T14:27:24.059Z","dependency_job_id":null,"html_url":"https://github.com/dpasca/chatnext-ads-content","commit_stats":null,"previous_names":["dpasca/chatnext-ads-content"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dpasca/chatnext-ads-content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fchatnext-ads-content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fchatnext-ads-content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fchatnext-ads-content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fchatnext-ads-content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpasca","download_url":"https://codeload.github.com/dpasca/chatnext-ads-content/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fchatnext-ads-content/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35147199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"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":"2026-07-05T07:30:27.480Z","updated_at":"2026-07-05T07:30:28.293Z","avatar_url":"https://github.com/dpasca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Ads Configuration for OYK Games\n\nThis directory contains the configuration and media files for your custom reward ads system.\n\n## Current Setup\n\nThe current configuration promotes these OYK Games titles:\n\n1. **Final Freeway**\n2. **Final Freeway 2R**\n3. **Fractal Combat X (FCX)**\n4. **Fractal Strike**\n\nEach ad entry in `config.json` points at media stored in `media/` plus the\ndestination URLs to open after the user watches the content.\n\n## Adding Or Updating An Ad\n\n### 1. Prepare media files\nAdd the trailer/gameplay clip and thumbnail to `media/`.\n\nTip: when sourcing a trailer from PublishKit or another large master asset,\ncreate a lighter ad-specific encode first so the reward flow stays fast on\nmobile connections.\n\n### 2. Add the ad entry to `config.json`\nFor each ad, set:\n- `id` - Stable unique id, usually `oyk-\u003cgame-name\u003e`\n- `title` and `description` - User-facing copy shown in the modal\n- `mediaType`, `mediaUrl`, `thumbnailUrl` - Local asset paths relative to this directory\n- `clickUrl` - Primary destination URL\n- `creditsReward` and `duration` - Reward amount and media length\n- `metadata.storeLinks` - Optional per-store URLs for iOS and Android buttons\n\n### 3. Keep store links accurate\nPrefer official store URLs when a game is live. If only one platform is live,\nset the live store URL as `clickUrl` and leave the unavailable store link out of\n`metadata.storeLinks`.\n\n## Media Specifications\n\n**Videos:**\n- Formats: MP4, MOV, WEBM\n- Max size: 50MB per video\n- Recommended resolution: 1280x720 (720p)\n- Duration: 15-60 seconds for optimal user engagement\n\n**Images:**\n- Formats: JPG, PNG, WEBP\n- Max size: 5MB per image\n- Recommended resolution: 800x600 or 1200x900\n- Use high-quality screenshots that showcase gameplay\n\n## Upload Command\n\nOnce you have your media files ready:\n\n```bash\n# Upload to S3 (requires DO_SPACES_* environment variables)\nnode scripts/upload-custom-ads.js\n\n# Or dry-run to test first:\nnode scripts/upload-custom-ads.js --dry-run\n```\n\n## Tips for Success\n\n1. **Compelling Trailers**: Short, exciting videos work best (15-30 seconds)\n2. **Clear Screenshots**: Show actual gameplay, not just title screens\n3. **Engaging Descriptions**: Focus on fun and excitement, not features\n4. **Fair Rewards**: Balance credits with your app's economy\n5. **Mobile Optimization**: Ensure videos/images look good on small screens\n\n## Testing\n\nAfter uploading:\n1. Enable custom ads: `CUSTOM_ADS_ENABLED=true`\n2. Test the CustomAdModal component in your app\n3. Verify videos play smoothly and links work\n4. Check credit awarding functionality\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpasca%2Fchatnext-ads-content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpasca%2Fchatnext-ads-content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpasca%2Fchatnext-ads-content/lists"}