{"id":18357759,"url":"https://github.com/jamesjara/netdb.io-plugins","last_synced_at":"2026-02-18T07:32:04.807Z","repository":{"id":77259087,"uuid":"80250479","full_name":"jamesjara/netdb.io-plugins","owner":"jamesjara","description":"netdb.io plugins","archived":false,"fork":false,"pushed_at":"2017-02-11T00:48:39.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-19T21:08:29.766Z","etag":null,"topics":["censys","iot","netdb","shodan"],"latest_commit_sha":null,"homepage":null,"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/jamesjara.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":"2017-01-27T22:11:07.000Z","updated_at":"2017-05-07T00:51:20.000Z","dependencies_parsed_at":"2023-07-07T01:33:40.579Z","dependency_job_id":null,"html_url":"https://github.com/jamesjara/netdb.io-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesjara/netdb.io-plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesjara%2Fnetdb.io-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesjara%2Fnetdb.io-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesjara%2Fnetdb.io-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesjara%2Fnetdb.io-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesjara","download_url":"https://codeload.github.com/jamesjara/netdb.io-plugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesjara%2Fnetdb.io-plugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29572407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["censys","iot","netdb","shodan"],"created_at":"2024-11-05T22:15:21.333Z","updated_at":"2026-02-18T07:32:04.794Z","avatar_url":"https://github.com/jamesjara.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netdb.io-plugins\nnetdb.io plugins.\n\n## This is the oficial repository for netdb.io\n\n## What is a netdb plugin?\nPlugins are tools that will run agains the dataset of specific workspace. PLugins run sandboxed, so no plugin can comunicate with the netdb software, but netdb suftware can. Plugin trying to access to the netdb platform itself, will be deleted.\n\nWe are ussing the API method 'postMessage', the Window.postMessage() method safely enables cross-origin communication. \n\n## Coding standars\n\n\n## How it works?\nQUite simple.\n\n1. netdb will dispatch to your html, postMesage event with an array.\n2. Array will contain two key:values which are: data and configuration.\n3. Then.. You will recivie the event message, and do something with the data and config.\n \n## Current plugins\n* host screenshot\n* \n\n##  Submit your plugin\n\n## Tutorial\n1. Create and folder with the name of your plugin\n2. Add an index.html file to the root of your folder.\n3. Create an app.js file to the root of your folder.\n4. Add the following code to your html to recieve the data from the netdb app. The Window.postMessage() method safely enables cross-origin communication.  [see here API](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)\n```javascript\n// we are reciving the data with this \"magic\" method\n\twindow.addEventListener('message', function(event){\n\t    if (~event.origin.indexOf('http://netdb.io')) \n\t    initPlugin(event.data);\n\t});\n // we prefer to use this naming convention\n\tfunction initPlugin(response){\n\t\t\tvar config = response['config']['key']; \n\t\t\tvar data = response['data'];\n   console.log(config, data);\n   // ...do whatever with your plugin\n\t}\n```\n5. Create a config.json file, containing separted by comma, all the fields required to be sent by netdb app to the plugin(eh:ip, latitude, longitude).\n\n### Data format\nThe data sent to the plugin will be an array of two keys.\n1. Key config: contains array with configuration key/values configured from the netdbapp of this specific plugin.\n2. Key data: contains an array of the full/selected workspace hosts, will only contains the existing keys in the config file\n\n\n## Contributors so far\n\n* @jamesjara\n* @fmonge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesjara%2Fnetdb.io-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesjara%2Fnetdb.io-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesjara%2Fnetdb.io-plugins/lists"}