{"id":18562386,"url":"https://github.com/born2snipe/nbm-center","last_synced_at":"2025-08-08T01:19:29.300Z","repository":{"id":7191395,"uuid":"8494953","full_name":"born2snipe/nbm-center","owner":"born2snipe","description":"A local Netbeans update center","archived":false,"fork":false,"pushed_at":"2013-03-02T03:42:54.000Z","size":188,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T17:50:55.884Z","etag":null,"topics":["java","nbm","netbeans","netbeans-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/born2snipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-01T05:24:29.000Z","updated_at":"2022-11-12T02:10:38.000Z","dependencies_parsed_at":"2022-08-24T20:00:27.242Z","dependency_job_id":null,"html_url":"https://github.com/born2snipe/nbm-center","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/born2snipe/nbm-center","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fnbm-center","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fnbm-center/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fnbm-center/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fnbm-center/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/born2snipe","download_url":"https://codeload.github.com/born2snipe/nbm-center/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fnbm-center/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263986223,"owners_count":23539809,"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":["java","nbm","netbeans","netbeans-plugin"],"created_at":"2024-11-06T22:09:28.144Z","updated_at":"2025-07-06T23:06:29.582Z","avatar_url":"https://github.com/born2snipe.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NBM Center\r\n\r\nThis is an application that will host NBMs for Netbeans it's self or for a Netbeans platform application.\r\n\r\n## Getting started\r\n- Download the latest jar file\r\n- From the command line type the following:\r\n\r\n    `java -jar nbm-center-\u003cversion\u003e.jar`\r\n\r\nThis will setup a H2 database and start the server and you are ready to start uploading your modules to the center.\r\n\r\n## Available Endpoints\r\n- GET to `/module/all` - returns JSON of all the modules in the center\r\n- POST to `/module` - uploads a NBM to be saved or updated in the center and returns JSON of that module\r\n- GET from `/module/{id}.nbm` - streams the NBM file contents\r\n- DELETE from `/module/{id}.nbm` - removes a NBM from the center\r\n- GET from `/catalog.xml` - streams the catalog XML used by Netbeans or a platform application\r\n- GET from `/catalog.xml.gz` - streams the catalog XML compressed using gzip this is also can be used by Netbeans or a platform application\r\n\r\n#### Note: This application was built using [DropWizard](http://dropwizard.codahale.com) so you also have access to the default endpoints provided by the framework.\r\n\r\n## FAQ\r\n- Can I change the type of database (MySQL, Oracle, etc)?\r\n    - To do this all you need to do is put your JDBC driver in the classpath.\r\n    - Create your own YAML configuration file. You can see the default YAML file [here](https://github.com/born2snipe/nbm-center/blob/master/src/main/resources/default.yml).\r\n    - To run just type the following at the command line: `java -jar nbm-center-\u003cversion\u003e.jar migrateAndRun \u003cyaml file path\u003e`\r\n\r\n- How to upload a NBM to the center?\r\n    - Using curl: `curl -F \"file=@my-fancy-plugin.nbm\" http://localhost:8080/module`\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn2snipe%2Fnbm-center","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborn2snipe%2Fnbm-center","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn2snipe%2Fnbm-center/lists"}