{"id":19150280,"url":"https://github.com/softvar/embed-jsfiddle","last_synced_at":"2025-10-24T02:02:20.023Z","repository":{"id":17073496,"uuid":"19838431","full_name":"softvar/embed-jsfiddle","owner":"softvar","description":"Web Component wrapper for jsFiddle's widgets using Polymer","archived":false,"fork":false,"pushed_at":"2014-05-24T22:43:37.000Z","size":200,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-09-23T01:05:35.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://softvar.github.io/embed-jsfiddle","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/softvar.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":"2014-05-15T23:25:01.000Z","updated_at":"2020-02-18T21:20:46.000Z","dependencies_parsed_at":"2022-09-24T19:50:25.746Z","dependency_job_id":null,"html_url":"https://github.com/softvar/embed-jsfiddle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/softvar/embed-jsfiddle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fembed-jsfiddle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fembed-jsfiddle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fembed-jsfiddle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fembed-jsfiddle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softvar","download_url":"https://codeload.github.com/softvar/embed-jsfiddle/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fembed-jsfiddle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280723921,"owners_count":26380108,"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-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2024-11-09T08:11:21.428Z","updated_at":"2025-10-24T02:02:19.991Z","avatar_url":"https://github.com/softvar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;embed-jsfiddle\u0026gt;\n\nWeb Component wrapper for [jsFiddle's widgets](http://doc.jsfiddle.net/use/embedding.html) using [Polymer](http://www.polymer-project.org/).\n\n\u003e Maintained by [Varun Malhotra](https://github.com/softvar).\n\n## Demo\n\n\u003e [Check it live](http://softvar.github.io/embed-jsfiddle).\n\n## Installation\n\nInstall the component using [bower](bower.io): \n\n```sh\n$ bower install embed-jsfiddle\n```\n\nOr [Download as ZIP](http://github.com/softvar/embed-jsfiddle/archive/master.zip)\n\n## Usage\n\n1. Import Web Components' polyfill:\n    \n    If using bower, then\n\n    ```html\n    \u003cscript src=\"bower_components/platform/platform.js\"\u003e\u003c/script\u003e\n    ```\n    \n    Otherwise\n\n\n    ```html\n    \u003cscript src=\"http://cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/platform.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"http://cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/polymer.js\"\u003e\u003c/script\u003e\n\n    ```\n\n2. Import Custom Element:\n    \n    If using bower, then include the below code inside `\u003chead\u003e...\u003c/head\u003e`\n\n    ```html\n    \u003clink rel=\"import\" href=\"bower_components/embed-jsfiddle/src/embed-jsfiddle.html\"\u003e\n    ```\n\n    Else if using the `download as zip` copy, then include the below code inside `\u003chead\u003e...\u003c/head\u003e` \n\n    ```html\n    \u003clink rel=\"import\" href=\"src/embed-jsfiddle.html\"\u003e\n    ```\n\n3. Start using it!\n\n    ```html\n    \u003cembed-jsfiddle user=\"softvar\" fiddleid=\"xxxxx\"\u003e\u003c/embed-jsfiddle\u003e\n    ```\n\n## Setup\n\nIn order to run it locally you'll need a basic server setup.\n\n1. Install [NodeJS](http://nodejs.org/download/).\n2. Install [GruntJS](http://gruntjs.com/):\n\n    ```sh\n    $ [sudo] npm install -g grunt-cli\n    ```\n\n3. Install local dependencies:\n\n    ```sh\n    $ npm install\n    ```\n\n4. Run a local server and open `http://localhost:8000`.\n\n    ```sh\n    $ grunt connect\n    ```\n\nOr, you can have a bare minimum local server using python.\n\n\n1. Clone this repo.\n\n    ```sh\n    $ git clone https://github.com/softvar/embed-js\n    ```\n\n2. Change the drectory-path in terminal.\n\n    ```sh\n    $ cd /path/to/this/dir\n    ```\n\n3. Run a local server \n\n    ```sh\n    # to run local server on specified `PORTNUMBER`\n    $ python -m SimpleHTTPServer `PORTNUMBER` \n    ```\n    \n    ```sh\n    # to run local server on port:8000\n    $ python -m SimpleHTTPServer\n    ```\n\n4. Open and point your browser to [http://locahost:8000](http://locahost:8000).\n\n## Options\n\n### \u0026lt;embed-jsfiddle\u0026gt;\n\nAttribute  | Options                    | Default                                                | Description\n---        | ---                        | ---                                                    | ---\n`user`     | *string*                   | ``                                                     | User who created it\n`fiddleid` | *string*                   | ``                                                     | The ID of the Fiddle\n`skin`     | `light`, `presentation`    | `light`                                                | The skin layout\n`tabs`     | `result,js,html,css`       | `result,js,html`                                       | The tabs that are going to be rendered\n`width`    | *int*                      | `800`                                                  | The width of the element\n`height`   | *int*                      | `300`                                                  | The height of the element\n\n\u003e See jsFiddle Embed Options [official documentation](http://doc.jsfiddle.net/use/embedding.html).\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## History\n\nFor detailed changelog, check [Releases](https://github.com/softvar/embed-jsfiddle/releases).\n\n## License\n\n[MIT License](http://opensource.org/licenses/MIT) © Varun Malhotra\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fembed-jsfiddle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftvar%2Fembed-jsfiddle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fembed-jsfiddle/lists"}