{"id":18317939,"url":"https://github.com/abdulkader-safi/easy-toast","last_synced_at":"2026-04-16T17:42:03.972Z","repository":{"id":229226016,"uuid":"776153401","full_name":"Abdulkader-Safi/easy-toast","owner":"Abdulkader-Safi","description":"a easy to use toast system for web developers built to be used with Vanilla JS just include the JS and css files and start showing toast to users","archived":false,"fork":false,"pushed_at":"2024-04-03T06:45:17.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T14:08:42.818Z","etag":null,"topics":["css","frontend","html","javascript","toast","web"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/Abdulkader-Safi.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}},"created_at":"2024-03-22T19:39:33.000Z","updated_at":"2024-04-03T06:47:12.000Z","dependencies_parsed_at":"2024-04-03T07:30:22.818Z","dependency_job_id":"b15a82b2-5c86-434f-94bc-d0733eb5d2cd","html_url":"https://github.com/Abdulkader-Safi/easy-toast","commit_stats":null,"previous_names":["abdulkader-safi/easy-toast"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Abdulkader-Safi/easy-toast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdulkader-Safi%2Feasy-toast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdulkader-Safi%2Feasy-toast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdulkader-Safi%2Feasy-toast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdulkader-Safi%2Feasy-toast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abdulkader-Safi","download_url":"https://codeload.github.com/Abdulkader-Safi/easy-toast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdulkader-Safi%2Feasy-toast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268693592,"owners_count":24291655,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"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":["css","frontend","html","javascript","toast","web"],"created_at":"2024-11-05T18:07:56.611Z","updated_at":"2026-04-16T17:41:58.946Z","avatar_url":"https://github.com/Abdulkader-Safi.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy-Toast\n\n\u003e built for project that i use vanilla Javascript or typescript that I do not want to use extra libraries with it\n\n## how to use\n\n1. Copy easy-toast.js to your project\n2. Copy easy-toast.css to your project\n3. add `\u003cdiv id=\"toast\"\u003e\u003c/div\u003e` at the bottom of you page\n4. call function easyToast(Message, Position, type, Duration)\n\n## Parameters\n\n1. Message: string\n2. position: string\n   1. top\n   2. bottom\n   3. left\n   4. right\n   5. top left\n   6. top right\n   7. bottom left\n   8. bottom right\n3. type: string\n   1. success\n   2. warning\n   3. error\n4. Duration: number\n   1. in seconds\n   2. if you did not add it it will be 3 seconds by default\n\n|            Error/Warning             |             Success              |\n| :----------------------------------: | :------------------------------: |\n| ![Error](./assets/error-worning.png) | ![Warning](./assets/success.png) |\n\n## TODO\n\n- [x] Show Toast\n- [x] Select place to show toast\n- [ ] Show stack of toasts\n- [x] set timer of the toasts\n- [ ] Show timer under the toast\n- [ ] Add SVG logos depend on user request\n- [ ] OnClick close toast\n\n\u003e Note: now you can only show one toast at a time\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulkader-safi%2Feasy-toast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdulkader-safi%2Feasy-toast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulkader-safi%2Feasy-toast/lists"}