{"id":19900989,"url":"https://github.com/nakorndev/hello-world","last_synced_at":"2026-03-08T14:36:24.218Z","repository":{"id":48394354,"uuid":"361954282","full_name":"nakorndev/hello-world","owner":"nakorndev","description":"ฝึกการใช้งาน Pull request กับ GitHub","archived":false,"fork":false,"pushed_at":"2021-07-28T10:25:39.000Z","size":63,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T21:12:50.592Z","etag":null,"topics":["hello-world","pull-requests","tutorial"],"latest_commit_sha":null,"homepage":"https://nakorndev.github.io/hello-world/","language":"HTML","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/nakorndev.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":"2021-04-27T02:22:09.000Z","updated_at":"2021-07-28T10:25:21.000Z","dependencies_parsed_at":"2022-09-14T17:43:17.195Z","dependency_job_id":null,"html_url":"https://github.com/nakorndev/hello-world","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/nakorndev%2Fhello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakorndev%2Fhello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakorndev%2Fhello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakorndev%2Fhello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakorndev","download_url":"https://codeload.github.com/nakorndev/hello-world/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329419,"owners_count":19944985,"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":["hello-world","pull-requests","tutorial"],"created_at":"2024-11-12T20:13:49.996Z","updated_at":"2026-03-08T14:36:24.165Z","avatar_url":"https://github.com/nakorndev.png","language":"HTML","readme":"# Hello, world!\n\n\u003e [https://nakorndev.github.io/hello-world/](https://nakorndev.github.io/hello-world/) Repository สำหรับมือใหม่เพื่อการฝึกฝนใช้งาน Pull requests ผ่าน GitHub\n\nสามารถติดตามคอร์สเรียนฟรีเพิ่มเติมสำหรับโปรแกรมเมอร์ฝึกหัดได้ที่ [https://www.facebook.com/nakorncode](https://www.facebook.com/nakorncode)\n\n## วิธีเรียนกับเรา\n\nเพื่อการเรียนที่ดีกว่าเดิม สามารถเริ่มต้นได้ผ่านกลุ่มเรียนรู้ฟรีที่ [https://www.facebook.com/groups/nakorncode.free/](https://www.facebook.com/groups/nakorncode.free/) โดยเนื้อหาเกี่ยวกับ Git นั้นจะอยู่ส่วนล่างๆของเนื้อหาทั้งหมด\n\n### Repository นี้คืออะไร\n\nRepository (โปรเจค) นี้จะเป็นการนำชื่อข้อมูลทุกๆ Contributors (ผู้ร่วมพัฒนา) จากไฟล์ [`./data/*.yml`](https://github.com/nakorndev/hello-world/tree/main/data) ทั้งหมดมาแสดงผล ซึ่งก็จะเป็นเพียงแค่ทดลองนำเข้าข้อมูลโปรไฟล์เล็กน้อยมายัง Repository คนอื่นผ่านการ [Pull requests](https://github.com/nakorndev/hello-world/pulls)\n\nหากได้รับการ Merge เนื้อหาจะถูกทำงานผ่าน Workflows ของ [GitHub Actions](https://github.com/nakorndev/hello-world/actions) เพื่อสร้างหน้าเว็บใหม่พร้อมกับชื่อของคุณ และรูปประจำตัวแบบสุ่มที่พัฒนาโดย [DiceBear/avatars](https://github.com/DiceBear/avatars)\n\n### สเปคการแก้ไข\n\nในการขอให้ Merge ผ่านได้ จะมีเงื่อนไขดังนี้\n\n- ไฟล์ใหม่ต้องตั้งเป็นชื่อ `./data/\u003cyour-github-username\u003e.yml` เท่านั้น เช่น [`./data/nakorndev.yml`](https://github.com/nakorndev/hello-world/blob/main/data/nakorndev.yml)\n- ไม่อนุญาตให้แก้ไขอย่างอื่นนอกจากไฟล์ `.yml` ที่กำหนด และชื่อไฟล์ต้องถูกต้อง\n- เอกสารภายในจะต้องมีการ **เว้นบรรทัด** ในบรรทัดสุดท้ายให้ถูกต้องด้วย [คลิกเพื่อดูรูปตัวอย่าง](./images/eof.png)\n- ข้อมูลทั้งหมดจะปลอมเอา หรือจะไม่กรอกบางอย่างก็ได้ สำหรับผู้ที่ต้องการปิดข้อมูลส่วนตัว\n- ข้อมูลภายในสามารถคัดลอกตามนี้เพื่อไปใช้งานได้\n\n```yml\nfull_name: \u003cชื่อจริง ไม่เกิน 40 ตัวอักษร\u003e\nnickname: \u003cชื่อเล่น ไม่เกิน 10 ตัวอักษร\u003e\ngender: \u003cเพศ จำเป็นต้องระบุ โดยใช้เฉพาะคำว่า \"male\" หรือ \"female\" เท่านั้น\u003e\nbirth_year: \u003cระบุปีเกิด ได้ตั้งแต่ 0 จนถึงปีปัจจุบันเป็นตัวเลข หรือเว้นว่างไว้\u003e\nmessage: \u003cข้อความใดๆก็ได้ แต่ก็ควรมีมารยาทเนอะ\u003e\n```\n\n\u003e ดูตัวอย่างเพิ่มเติมได้ที่ไฟล์ [`./data/nakorndev.yml`](https://github.com/nakorndev/hello-world/blob/main/data/nakorndev.yml)\n\n### ขั้นตอนแนะนำการเริ่ม Pull request\n\n- เริ่มต้น ให้ทำการกด `Fork` มุมขวาบนของเว็บ เพื่อคัดลอกทั้ง Repository นี้ไปเป็นของเรา\n- ดำเนินการ `git clone` ไปยังเครื่องของคุณ\n- จากนั้นเพิ่มไฟล์ตามชื่อ `./data/\u003cyour-github-username\u003e.yml` ของคุณที่ถูกต้อง เช่น `./data/myuser123.yml`\n- คัดลอกรูปแบบข้อมูลจากคนอื่น จากนั้นเปลี่ยนให้เป็นของเราเองตามสเปค หากเกินสเปคจะทำให้ Merge ไม่ผ่านได้\n- เสร็จแล้ว `git add` `git commit` และ `git push` ตามลำดับมาที่ Branch ใดๆก็ได้\n- กลับมาที่หน้า [nakorndev/hello-world](https://github.com/nakorndev/hello-world) ไปที่แท็ก [Pull requests](https://github.com/nakorndev/hello-world/pulls)\n- เลือก [New pull request](https://github.com/nakorndev/hello-world/compare) ปุ่มสีเขียว\n- ให้เลือก Compare จาก `base repository: nakorndev/hello-world` `base: main` ← `head repository: \u003cyour-github-username\u003e/hello-world` `compare: \u003cyour-branch\u003e`\n  - หากขั้นตอนนี้ไม่ขึ้นให้เลือก ให้กดปุ่ม **compare across forks** ที่เป็นลิงก์แบบข้อความ\n- จากนั้นให้ระบุข้อมูลที่ต้องการใดๆก็ได้ และดำเนินการต่อ\n- รอให้ผู้ดูแล Repository นี้ดำเนินการ Merge หรือบอกให้ปรับปรุงเนื้อหาหากไม่ถูกต้อง\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakorndev%2Fhello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakorndev%2Fhello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakorndev%2Fhello-world/lists"}