{"id":17003880,"url":"https://github.com/cldwalker/previewradio-pedestal","last_synced_at":"2025-03-22T10:14:36.329Z","repository":{"id":7740583,"uuid":"9107406","full_name":"cldwalker/previewradio-pedestal","owner":"cldwalker","description":"a sinatra to pedestal-service comparison","archived":false,"fork":false,"pushed_at":"2013-04-02T02:40:55.000Z","size":151,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T10:44:16.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/cldwalker.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}},"created_at":"2013-03-29T21:55:40.000Z","updated_at":"2014-01-17T02:16:43.000Z","dependencies_parsed_at":"2022-07-08T03:20:33.996Z","dependency_job_id":null,"html_url":"https://github.com/cldwalker/previewradio-pedestal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fpreviewradio-pedestal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fpreviewradio-pedestal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fpreviewradio-pedestal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fpreviewradio-pedestal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cldwalker","download_url":"https://codeload.github.com/cldwalker/previewradio-pedestal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937832,"owners_count":20535127,"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":[],"created_at":"2024-10-14T04:33:03.491Z","updated_at":"2025-03-22T10:14:36.310Z","avatar_url":"https://github.com/cldwalker.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nThis is an experiment to see how\n[pedestal-service](https://github.com/pedestal/pedestal/tree/master/service)\ncompares to [sinatra](http://www.sinatrarb.com/). The sinatra app\nconverted is [previewradio](https://github.com/mnoble/previewradio).\n\nTo try this app, see [the demo](http://previewradio-pedestal.herokuapp.com/).\n\n## Getting Started\n\n1. Start the application: `lein run`\n2. Go to [localhost:8080](http://localhost:8080/)\n\n## Usage\npreviewradio is a music discovery service that works like this:\n\n1. Search for an album you know.\n2. Click on it.\n3. Sit back and enjoy preview clips of related albums via iTunes. When an\nalbum finishes, it should automatically transition to the next one.\n\n## Comparison to Sinatra\n\nA [diff is a thousand words](https://github.com/cldwalker/previewradio-pedestal/commit/229f1904b69bf428668532663c9b23aa13ade119) or less. The original app had 150 lines, 4 endpoints, 3 views and 4 javascript files. The pedestal service ended up:\n\n* functionally equivalent to the sinatra one\n* with about the same line count\n* changing a few of the templates to accomodate a different erb parser\n* not changing any of the javascript or css\n\nThis app doesn't play to pedestal-service's strengths but it does show\nthat it can be an easy to use sinatra equivalent for some use cases.\n\n## Configuration\nTo configure logging see config/logback.xml. By default, the app logs to stdout and logs/.\nTo learn more about configuring Logback, read its\n[documentation](http://logback.qos.ch/documentation.html).\n\n## Credits\n\n* @mnoble for writing the original app! Perhaps he and others will\nconvert to the (dark side).\n* @thinkrelevance for awesome fridays!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fpreviewradio-pedestal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcldwalker%2Fpreviewradio-pedestal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fpreviewradio-pedestal/lists"}