{"id":13571750,"url":"https://github.com/snpptsdev/snppts","last_synced_at":"2025-04-04T08:32:21.669Z","repository":{"id":22459627,"uuid":"84071040","full_name":"snpptsdev/snppts","owner":"snpptsdev","description":"The Snppts web UI hosted at https://www.snppts.dev","archived":false,"fork":false,"pushed_at":"2024-07-22T08:31:34.000Z","size":5075,"stargazers_count":164,"open_issues_count":8,"forks_count":91,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-11-05T04:34:17.155Z","etag":null,"topics":["dotnet-maui","hacktoberfest","layouts","maui","screenshots","snippets","user-interface","xamarin","xamarin-forms","xaml"],"latest_commit_sha":null,"homepage":"https://www.snppts.dev","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/snpptsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2017-03-06T12:32:33.000Z","updated_at":"2024-09-16T14:42:03.000Z","dependencies_parsed_at":"2023-01-12T08:30:39.927Z","dependency_job_id":"c565acb7-b982-497c-87d9-1f3eedf66c02","html_url":"https://github.com/snpptsdev/snppts","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/snpptsdev%2Fsnppts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snpptsdev%2Fsnppts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snpptsdev%2Fsnppts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snpptsdev%2Fsnppts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snpptsdev","download_url":"https://codeload.github.com/snpptsdev/snppts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247147725,"owners_count":20891751,"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":["dotnet-maui","hacktoberfest","layouts","maui","screenshots","snippets","user-interface","xamarin","xamarin-forms","xaml"],"created_at":"2024-08-01T14:01:05.676Z","updated_at":"2025-04-04T08:32:16.659Z","avatar_url":"https://github.com/snpptsdev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/snpptsdev/snppts/main/src/Snppts/wwwroot/img/snppts_logo.png\" width=\"300px\" /\u003e\n\n# Welcome\n\nHi! Welcome to Snppts.dev!\n\nIf you create cool UIs in .NET MAUI (or still in Xamarin!), this is the place to be! You're welcome to add your created UIs and become part of our ever-growing library of content! Please keep in mind that what you are sharing does not violate the community [code of conduct](https://github.com/snpptsdev/snppts/blob/main/CODE_OF_CONDUCT.md).\n\n# Add yourself as an author\n\nTo add yourself as a Snppts author you can fork this project, add yourself to the [authors folder](https://github.com/snpptsdev/snppts/tree/main/src/Snppts/Authors) as a class, implementing the `IAmAnAuthor` interface.\n\nThe result should look something like this:\n\n``` csharp\npublic class StevenThewissen : IAmAnAuthor\n{\n    public string FirstName =\u003e \"Steven\";\n    public string LastName =\u003e \"Thewissen\";\n    public Uri Website =\u003e new Uri(\"https://www.thewissen.io\");\n    public string TwitterHandle =\u003e \"devnl\";\n    public string GitHubHandle =\u003e \"sthewissen\";\n    public string EmailAddress =\u003e \"steven@thewissen.io\";\n    public string GravatarHash =\u003e \"62ce0e69389e31fd3c42fb230f9b1637\";\n}\n```\n\nA few pointers:\n\n- Name the class after your first and lastname with PascalCase.\n- The `FirstName` and `LastName` property should resemble that same name.\n- `EmailAddress`, `TwitterHandle` and`GitHubHandle` should be pretty clear, `TwitterHandle` without the leading @.\n- The `Website` property can be your global website or whatever you want people to look at.\n- If you want to show your Gravatar go to https://en.gravatar.com/site/check/ and get your hash! If you don't fill the hash, you will be viewed as a silhouette.\n\n# Add your first snippet\n\nTo add a snippet you can fork this project, add your snippet to the [Snippets folder](https://github.com/snpptsdev/snppts/tree/main/src/Snppts/Snippets) as a class, implementing the `IAmASnippet` interface.\n\nThe result should look something like this:\n\n``` csharp\npublic class PinBasedLogin : IAmASnippet\n{\n    public string Slug =\u003e \"pin-based-login\";\n    public string Title =\u003e \"PIN-based Login\";\n    public GitHubRepoInfo GitHubRepoInfo =\u003e new GitHubRepoInfo(\"snpptsio/Snppts.PinBasedLogin\");\n    public bool ContainsAndroidSample =\u003e true;\n    public bool ContainsiOSSample =\u003e true;\n    public bool ContainsUWPSample =\u003e false;\n    public Sdk BuiltWith =\u003e Sdk.Maui;\n\n    public string Description =\u003e \"This snippet was created to demonstrate a simple PIN-based login screen. It uses buttons and images to create the numpad control. Tapping on a number adds the number to a property bound to the interface. Also contains some simple length checks (max. 6 characters) for the PIN code and uses Fresh MVVM for its page models.\";\n\n    public IAmAnAuthor AuthorInfo =\u003e new StevenThewissen();\n\n    public IEnumerable\u003cUri\u003e ImageUris =\u003e new List\u003cUri\u003e\n    {\n        new Uri(\"https://raw.githubusercontent.com/snpptsio/MigratedImages/main/18/60.jpg\"),\n        new Uri(\"https://raw.githubusercontent.com/snpptsio/MigratedImages/main/18/61.jpg\")\n    };\n\n    public IList\u003cCategory\u003e Categories =\u003e new List\u003cCategory\u003e\n    {\n        Category.LOGIN\n    };\n}\n```\n\nA few pointers:\n\n- Name the class after the title of your snippet with PascalCase.\n- Provide a slug where your creation should be permalinked on Snppts.\n- Link your `IAmAnAuthor` object by creating a new instance of it. This allows you to post more snippets in the future!\n- Choose one or more appropriate categories for your creation. If there's no existing category that fits your creation you're allowed to add one but it will be reviewed upon submitting your PR.\n- With `ImageUris` you can supply one or more URIs showing off screenshots of your creation. Please make sure that these screenshots are all of a single screen, so no compilations.\n\n# Just .NET MAUI and Xamarin please\n\nThis site is dedicated to .NET MAUI and Xamarin, so samples in Swift, Java, Objective-C and the likes will not be accepted. Since we will be looking at each PR we will reject any that are not about .NET MAUI or Xamarin.\n\n# The last step...\n\nAnd it truly is a big step for monkeykind 🐵! Last thing that remains is submit a Pull Request to us and whenever it gets merged party 🎉! You're on Snppts now!\n\n![Featured on Snppts Badge](https://www.snppts.dev/img/snppts-badge.jpg)\n\nDon't forget to incorporate the Featured on Snppts badge on your blog and link back to us! Enjoy all of our great content! Of course you are more than welcome to submit other features and bugfixes as well.\n\n# Acknowledgements\n* Thanks to [PlanetXamarin](https://www.planetxamarin.com) for the inspiration on how to create Snppts.\n* Thanks to [our awesome contributors](https://github.com/snpptsdev/snppts/graphs/contributors) and our [community of authors](https://github.com/snpptsdev/snppts/tree/main/src/Snppts/Authors) who make this all possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnpptsdev%2Fsnppts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnpptsdev%2Fsnppts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnpptsdev%2Fsnppts/lists"}