{"id":25343745,"url":"https://github.com/goburrow/melon","last_synced_at":"2025-10-29T13:31:14.035Z","repository":{"id":25966820,"uuid":"29408747","full_name":"goburrow/melon","owner":"goburrow","description":"Melon 🍈 - Dropwizard-like web service framework in Go (golang)","archived":false,"fork":false,"pushed_at":"2018-03-12T12:44:29.000Z","size":295,"stargazers_count":112,"open_issues_count":0,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-11-07T15:22:11.980Z","etag":null,"topics":["dropwizard","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/goburrow.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":"2015-01-17T23:01:26.000Z","updated_at":"2023-11-07T15:22:11.981Z","dependencies_parsed_at":"2022-08-24T10:30:15.713Z","dependency_job_id":null,"html_url":"https://github.com/goburrow/melon","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goburrow%2Fmelon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goburrow%2Fmelon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goburrow%2Fmelon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goburrow%2Fmelon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goburrow","download_url":"https://codeload.github.com/goburrow/melon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238829540,"owners_count":19537719,"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":["dropwizard","golang"],"created_at":"2025-02-14T10:58:07.101Z","updated_at":"2025-10-29T13:31:13.664Z","avatar_url":"https://github.com/goburrow.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Melon [![Build Status](https://travis-ci.org/goburrow/melon.svg)](https://travis-ci.org/goburrow/melon) [![GoDoc](https://godoc.org/github.com/goburrow/melon?status.svg)](https://godoc.org/github.com/goburrow/melon)\nLightweight Go framework for building web services, inspired by Dropwizard.\n\n## Overview\nMelon is a partial port of [Dropwizard](http://dropwizard.io/) in Go.\nBesides of builtin Go packages, it utilizes a number of [libraries](https://github.com/goburrow/melon/blob/master/THIRDPARTY.md)\nin order to build a server stack quickly, including:\n\n* [mux](https://github.com/gorilla/mux): a popular HTTP multiplexer.\n* [gol](https://github.com/goburrow/gol): a simple hierarchical logging API.\n* [metrics](https://github.com/codahale/metrics): a minimalist instrumentation library.\n* [validator](https://github.com/goburrow/validator): an extensible value validator.\n\nFeatures supported:\n\n- Commands: for controlling your application from command line.\n- Bundles: for modularizing your application.\n- Managed Objects: for starting and stopping your components.\n- HealthChecks: for checking health of your application in production.\n- Metrics: for monitoring and statistics.\n- Tasks: for administration.\n- Resources: for RESTful endpoints.\n- Filters: for injecting middlewares.\n- Logging: for understanding behaviors of your application.\n- Configuration: for application parameters.\n- Banner: for fun. :)\n- and more...\n\n## Examples\nSee [example](https://github.com/goburrow/melon/tree/master/example)\n\n- [Hello World](example/helloworld/helloworld.go)\n- [Restful](example/restful/restful.go)\n- [HTML Template](example/template/template.go)\n- [Basic Authentication](example/basicauth/basicauth.go)\n\n```\nINFO  [2015-02-04T12:00:01.289+10:00] melon/server: starting\n    ______\n   /\\   __\\______\n  /..\\  \\  \\     \\\n /....\\_____\\  \\  \\\n \\..../ / / /\\_____\\\n  \\../ / / /./   __/\n   \\/_____/./__   /\n          \\/_____/\n\nINFO  [2015-02-04T12:00:01.289+10:00] melon/assets: registering AssetsBundle for path /static/\nDEBUG [2015-02-04T12:00:01.289+10:00] melon/server: resources = [*views.JSONProvider,*views.XMLProvider,*views.Resource,*views.Resource,*views.Resource,*views.Resource,*views.Resource]\nINFO  [2015-02-04T12:00:01.289+10:00] melon/server: endpoints =\n\n    GET     /static/* (http.HandlerFunc)\n    GET     /users (*views.httpHandler)\n    POST    /users (*views.httpHandler)\n    GET     /user/{name} (*views.httpHandler)\n    PUT     /user/{name} (*views.httpHandler)\n    DELETE  /user/{name} (*views.httpHandler)\n\nINFO  [2015-02-04T12:00:01.290+10:00] melon/admin: tasks =\n\n    POST    /tasks/gc (*core.gcTask)\n    POST    /tasks/log (*logging.logTask)\n    POST    /tasks/rmusers (*main.usersTask)\n\nDEBUG [2015-02-04T12:00:01.290+10:00] melon/admin: health checks = [UsersHealthCheck]\nINFO  [2015-02-04T12:00:01.290+10:00] melon/server: listening :8080\nINFO  [2015-02-04T12:00:01.290+10:00] melon/server: listening :8081\n```\n\n## Contributing\nComments, issues and pull requests are always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoburrow%2Fmelon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoburrow%2Fmelon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoburrow%2Fmelon/lists"}