{"id":23884541,"url":"https://github.com/felipebaltazar/xamarin.forms.embeddedassets","last_synced_at":"2025-04-09T22:24:06.023Z","repository":{"id":45468497,"uuid":"400642761","full_name":"felipebaltazar/Xamarin.Forms.EmbeddedAssets","owner":"felipebaltazar","description":"Free yourself from platform specifc assets","archived":false,"fork":false,"pushed_at":"2021-12-12T23:07:09.000Z","size":455,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T00:22:49.185Z","etag":null,"topics":["asset","embedded","embedded-asset","embedded-html","embeddedresource","html","resource","webview","xamarin","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","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/felipebaltazar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"felipebaltazar","patreon":null,"open_collective":null,"ko_fi":"felipebaltazar","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-08-27T21:50:59.000Z","updated_at":"2023-06-17T13:02:01.000Z","dependencies_parsed_at":"2022-09-18T23:21:58.580Z","dependency_job_id":null,"html_url":"https://github.com/felipebaltazar/Xamarin.Forms.EmbeddedAssets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FXamarin.Forms.EmbeddedAssets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FXamarin.Forms.EmbeddedAssets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FXamarin.Forms.EmbeddedAssets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebaltazar%2FXamarin.Forms.EmbeddedAssets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipebaltazar","download_url":"https://codeload.github.com/felipebaltazar/Xamarin.Forms.EmbeddedAssets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248121051,"owners_count":21051068,"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":["asset","embedded","embedded-asset","embedded-html","embeddedresource","html","resource","webview","xamarin","xamarin-forms"],"created_at":"2025-01-04T03:13:42.353Z","updated_at":"2025-04-09T22:24:05.989Z","avatar_url":"https://github.com/felipebaltazar.png","language":"C#","funding_links":["https://github.com/sponsors/felipebaltazar","https://ko-fi.com/felipebaltazar"],"categories":[],"sub_categories":[],"readme":"# Xamarin.Forms.EmbeddedAssets\nFree yourself from platform specifc assets\n\n## Getting started\n\n- Include your assets as embedded resource on your NetStandard project\n\n- Declare all assets that you need to use\n\n```csharp\n\nusing Xamarin.Forms.EmbeddedAssets;\nusing Xamarin.Forms.Xaml;\n\n[assembly: XamlCompilation(XamlCompilationOptions.Compile)]\n\n[assembly: ExportAsset(\"MyPage.html\", loadAssociatedResourcesInFolder: true)] //here you can declare your assets files and if some associated files (in the same folder) are needed\n\n```\n\n- Now you can use the default markup extension\n\n```xml\n\u003cWebView Source=\"{EmbeddedAsset MyPage.html}\"\n                 VerticalOptions=\"FillAndExpand\"\n                 HorizontalOptions=\"FillAndExpand\"/\u003e\n```\n\n\n![image](https://user-images.githubusercontent.com/19656249/145725238-b290df11-3535-4def-b34e-2826257599a7.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebaltazar%2Fxamarin.forms.embeddedassets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipebaltazar%2Fxamarin.forms.embeddedassets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebaltazar%2Fxamarin.forms.embeddedassets/lists"}