{"id":28136714,"url":"https://github.com/grunka/warmachine","last_synced_at":"2025-10-09T10:37:53.611Z","repository":{"id":2551612,"uuid":"3529938","full_name":"grunka/WarMachine","owner":"grunka","description":"A very minimal java web app server","archived":false,"fork":false,"pushed_at":"2025-05-13T12:45:51.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T16:20:37.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/grunka.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,"zenodo":null}},"created_at":"2012-02-23T21:12:28.000Z","updated_at":"2025-05-13T12:45:53.000Z","dependencies_parsed_at":"2024-04-18T18:29:40.516Z","dependency_job_id":"47e9b529-8882-4b6d-884d-1ba6efa058d8","html_url":"https://github.com/grunka/WarMachine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grunka/WarMachine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2FWarMachine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2FWarMachine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2FWarMachine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2FWarMachine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grunka","download_url":"https://codeload.github.com/grunka/WarMachine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2FWarMachine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001270,"owners_count":26083040,"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-09T02:00:07.460Z","response_time":59,"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":"2025-05-14T16:19:58.389Z","updated_at":"2025-10-09T10:37:53.573Z","avatar_url":"https://github.com/grunka.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"WarMachine\n=====\nA very minimal java web app server. It combines [Jetty](http://jetty.codehaus.org/jetty/), [Jasper](http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html) and [Gson](http://code.google.com/p/google-gson/) to let you host war files from a single jar.\n\nWhy?\n----\nA mix between annoyances with existing application servers and itch scratching. I was a bit interesting to make at least.\n\nHow do I use it?\n----------------\n1. Build the jar\n\n        mvn install\n2. Wait for maven to download, build, unpack and repack everything\n3. Run\n\n        java -jar target/war-machine-1.0.jar\n\nHowever this will not do much, it just starts a server that serves 404s on port 8080. To fix this you need to add wars, try this:\n\n        java -jar target/war-machine-1.0.jar /hello=src/test/resources/war-project-1.0.war\n\nThis will load the war using the context path /hello. You can add any number of additional wars in the same way. But now let's get to the fun part.\n\n        java -jar target/war-machine-1.0.jar /1=src/test/resources/war-project-1.0.war /2=src/test/resources/war-project-2.0.war -p 9090 --package my_server.jar\n\nNo server will be started, instead you get another file called my_server.jar and if you run that\n\n        java -jar my_server.jar\n\nyou will get the same resulting server as if you had run the previous command without the --package part on the end.\n\nAnd that's about it, have fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunka%2Fwarmachine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrunka%2Fwarmachine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunka%2Fwarmachine/lists"}