{"id":22902755,"url":"https://github.com/jacoobia/contextify","last_synced_at":"2025-10-11T05:38:38.584Z","repository":{"id":156755793,"uuid":"358693033","full_name":"jacoobia/Contextify","owner":"jacoobia","description":"A lightweight vanilla JavaScript context menu library with FontAwesome support.","archived":false,"fork":false,"pushed_at":"2024-04-10T23:59:17.000Z","size":56,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T21:02:39.864Z","etag":null,"topics":["context-menu","css","fontawesome","javascript","javascript-library","library","ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jacoobia.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-16T18:55:51.000Z","updated_at":"2024-04-12T22:27:00.000Z","dependencies_parsed_at":"2024-04-11T00:48:34.031Z","dependency_job_id":null,"html_url":"https://github.com/jacoobia/Contextify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jacoobia/Contextify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoobia%2FContextify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoobia%2FContextify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoobia%2FContextify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoobia%2FContextify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacoobia","download_url":"https://codeload.github.com/jacoobia/Contextify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoobia%2FContextify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006350,"owners_count":26084086,"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-10-11T02:00:06.511Z","response_time":55,"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":["context-menu","css","fontawesome","javascript","javascript-library","library","ui"],"created_at":"2024-12-14T02:18:09.097Z","updated_at":"2025-10-11T05:38:38.532Z","avatar_url":"https://github.com/jacoobia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp float=\"left\u003e\n \u003ca href=\"https://fontawesome.com/\"\u003e\n  \u003cimg alt=\"Supports FontAwesome!\" src=\"https://img.shields.io/badge/supports-fontawesome-blue?style=for-the-badge\" style=\"display: inline-block;\"\u003e\n \u003c/a\u003e\n \u003cimg alt=\"GitHub Download Count\" src=\"https://img.shields.io/github/downloads/jacoobia/Contextify/total?style=for-the-badge\" style=\"display: inline-block;\"\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\n# Contextify\n\n\u003cbr/\u003e\n\nA lightweight vanilla JavaScript context menu library with FontAwesome support. \u003cbr/\u003e\nThis library was written for use in a personal project of mine as an AIO solution for the features of a context menu that I wanted that I could only find spread across multiple different context menu libraries. This is very early doors and I will continue to maintain this however slowly that may be as I build my personal projects and use cases change or the need for features arise.\n\n# Usage\n\n```\n    //Construct our menu buttons \n    const menuButtons = [\n        { icon: 'fa-camera', type: 'button', text: 'Screenshot', click: screenshot },\n        { icon: 'fa-times-circle', type: 'button', text: 'Cancel', click: (event) =\u003e { menu.hide(false); }}\n    ];\n    //Create our new Contextify object with the buttons, theme, container\n    const menu = new Contextify(menuButtons, \"dark\", document.body);\n```\n\nWhich creates the following menu (note, the example requires you to have a form of FontAwesome installed):\n![Example Menu](https://by3301files.storage.live.com/y4meHtRWf5VBnb5SxLdxHbo-apkdGGw8MCFqGiW-T7sUl7KSlJkkWMDMwZeTXBDCFw7qZqbCUZ58hPljmvqTTxu7mm819PPWu_PpmtJLw-rXW50bzstHEQotokCZgFbU6Wy4lYt2824E7pbUON25EnoqboF1ASE8-c7OwIgUp_8P-HdzcGSOcxR_Lb7K-f5JY2K?width=252\u0026height=84\u0026cropmode=none)\n\n                                                   \nDisclaimer: This has only been tested on desktop, MacOS and Windows 10. I have not tested this on any mobile devices.\n\u003cimg src=\"https://user-images.githubusercontent.com/15943248/128567733-a9b1c10d-6bcd-4015-ae76-946c58738626.png\" width=\"480\" height=\"300\" /\u003e \u003cimg src=\"https://user-images.githubusercontent.com/15943248/128567735-3a9402fe-8b84-46d7-add9-6e63a6ffa5cc.PNG\" width=\"480\" height=\"300\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoobia%2Fcontextify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoobia%2Fcontextify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoobia%2Fcontextify/lists"}