{"id":15407734,"url":"https://github.com/saltyaom/prophet-launchpad","last_synced_at":"2025-04-18T05:02:23.954Z","repository":{"id":41485051,"uuid":"360878384","full_name":"SaltyAom/prophet-launchpad","owner":"SaltyAom","description":"Prophet Button 2","archived":false,"fork":false,"pushed_at":"2022-07-03T04:18:20.000Z","size":7425,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:22:04.640Z","etag":null,"topics":["button","launchpad","prophet"],"latest_commit_sha":null,"homepage":"http://prophet-launchpad.netlify.app/","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/SaltyAom.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}},"created_at":"2021-04-23T12:33:15.000Z","updated_at":"2025-03-20T16:52:17.000Z","dependencies_parsed_at":"2022-09-21T10:22:50.568Z","dependency_job_id":null,"html_url":"https://github.com/SaltyAom/prophet-launchpad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaltyAom%2Fprophet-launchpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaltyAom%2Fprophet-launchpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaltyAom%2Fprophet-launchpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaltyAom%2Fprophet-launchpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaltyAom","download_url":"https://codeload.github.com/SaltyAom/prophet-launchpad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249432451,"owners_count":21271058,"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":["button","launchpad","prophet"],"created_at":"2024-10-01T16:29:36.743Z","updated_at":"2025-04-18T05:02:23.935Z","avatar_url":"https://github.com/SaltyAom.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prophet Launchpad\nสวัสดีครับท่านศาสดา button เวอร์ชั่น 2\n\n[ลองเล่นเลย](https://prophet-button.netlify.app)\n\n\u003cimg src=\"https://raw.githubusercontent.com/SaltyAom/prophet-launchpad/main/assets/image/prophet-launchpad.jpg\" alt=\"สวัสดีครับท่านศาสดา button 2\" \u003e\n\n## Prerequisted\n1. ลง [Node.js](http://nodejs.org/)\n\n2. กดปุ่ม fork repo ที่มุมขวาบนของ [repo](https://github.com/saltyAom/prophet-launchpad) ก่อน\n\n3. Clone repo นี้\n```typescript\ngit clone https://github.com/\u003cชื่อ username Github ของตัวเอง\u003e/prophet-launchpad\ncd prophet-launchpad\n```\n\n4. ติดตั้ง module:\n```bash\n# ลงด้วย npm\nnpm install\n\n# ลงด้วย yarn\nyarn\n\n# ลงด้วย pnpm\npnpm install\n```\n\n5. รัน dev server\n```bash\n# run ด้วย npm\nnpm run dev\n\n# run ด้วย yarn\nyarn dev\n\n# run ด้วย pnpm\npnpm run dev\n```\n\n## Contributing\n1. เพิ่ม asset เสียงเข้าไปที่ `assets/sound` [ตั้งชื่อด้วยตัวอักษร karaoke](https://dekgenius.com/karaoke) เพราะ Netlify ไม่ support asset ตัวอักษรไทย\n\n2. เข้าไปเพิ่ม list เสียงที่ `src/lib/data/sound.ts`\nเพิ่มเข้าไปใน array `sounds` ด้วยลำดับตามนี้\n[คำที่ต้องการแสดงในหน้าเว็บ, ชื่อไฟล์เสียงที่เพิ่มเข้าไป, ระยะเวลาของไฟล์เสียง]\nเช่น\n```typescript\n// src/lib/data/sound.ts\nexport const sounds: Sounds = [\n    // ...\n\t['สวัสดีครับ', 'sà-wàt-dee kráp.mp3', 1.35],\n\t['ท่านสมาชิก', 'tân sà-maa-chík.mp3', 1.35],\n    // ...\n]\n```\n\n3. ลอง build ดูก่อนว่า build ผ่านไหม:\n```bash\n# run ด้วย npm\nnpm run build\n\n# run ด้วย yarn\nyarn build\n\n# run ด้วย pnpm\npnpm run build\n```\n\n4. ถ้า build ผ่านแล้วก็[ส่ง PR เข้ามาที่ repo หลักเลย](https://github.com/SaltyAom/prophet-launchpad/pulls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltyaom%2Fprophet-launchpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaltyaom%2Fprophet-launchpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltyaom%2Fprophet-launchpad/lists"}