{"id":13413819,"url":"https://github.com/krotik/dudeldu","last_synced_at":"2025-04-12T02:38:51.205Z","repository":{"id":82003318,"uuid":"67635857","full_name":"krotik/dudeldu","owner":"krotik","description":"A simple SHOUTcast server.","archived":false,"fork":false,"pushed_at":"2019-09-22T09:17:43.000Z","size":10907,"stargazers_count":144,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T02:38:41.619Z","etag":null,"topics":["audio","docker-image","linux","playlists","server","shoutcast-stream","vlc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krotik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-07T19:11:04.000Z","updated_at":"2025-04-07T17:43:44.000Z","dependencies_parsed_at":"2024-01-07T21:54:08.806Z","dependency_job_id":"34094295-2d29-476e-9b7d-c5c342a9f74b","html_url":"https://github.com/krotik/dudeldu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krotik%2Fdudeldu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krotik%2Fdudeldu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krotik%2Fdudeldu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krotik%2Fdudeldu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krotik","download_url":"https://codeload.github.com/krotik/dudeldu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507190,"owners_count":21115554,"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":["audio","docker-image","linux","playlists","server","shoutcast-stream","vlc"],"created_at":"2024-07-30T20:01:50.227Z","updated_at":"2025-04-12T02:38:51.183Z","avatar_url":"https://github.com/krotik.png","language":"Go","funding_links":[],"categories":["服务器应用程序","Server Applications","Go","Relational Databases","服务端应用"],"sub_categories":["HTTP客户端","HTTP Clients","查询语"],"readme":"DudelDu\n=======\nDudelDu is a simple audio/video streaming server using the SHOUTcast protocol.\n\n\u003cp\u003e\n\u003ca href=\"https://void.devt.de/pub/dudeldu/coverage.txt\"\u003e\u003cimg src=\"https://void.devt.de/pub/dudeldu/test_result.svg\" alt=\"Code coverage\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/devt.de/krotik/dudeldu\"\u003e\n\u003cimg src=\"https://goreportcard.com/badge/devt.de/krotik/dudeldu?style=flat-square\" alt=\"Go Report Card\"\u003e\u003c/a\u003e\n\u003ca href=\"https://godoc.org/devt.de/krotik/dudeldu\"\u003e\n\u003cimg src=\"https://godoc.org/devt.de/krotik/dudeldu?status.svg\" alt=\"Go Doc\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nFeatures\n--------\n- Supports various streaming clients: \u003ca href=\"http://www.videolan.org/vlc/download-windows.en_GB.html\"\u003eVLC\u003c/a\u003e, \u003ca href=\"https://play.google.com/store/apps/details?id=net.sourceforge.servestream\"\u003eServeStream\u003c/a\u003e,  ... and most Icecast clients.\n- Supports sending of meta data (sending artist and title to the streaming client).\n- Playlists are simple JSON files and data files are normal media (e.g. `.mp3`, `.nsv`) files on disk.\n- Can be used as a stand-alone server or embedded in other Go projects.\n- Supports HTTP basic user authentication.\n\nGetting Started (standalone application)\n----------------------------------------\nYou can download a pre-compiled package for Windows (win64) or Linux (amd64) [here](https://void.devt.de/pub/dudeldu).\n\nYou can also pull the latest docker image of DudelDu from [Dockerhub](https://hub.docker.com/r/krotik/dudeldu):\n```\ndocker pull krotik/dudeldu\n```\n\nCreate an empty directory, change into it and run the following to start DudelDu:\n```\ndocker run --rm --user $(id -u):$(id -g) -v $PWD:/data -p 9091:9091 krotik/dudeldu -host 0.0.0.0 \u003cplaylist\u003e\n```\nThe container will have access to the current local directory and all subfolders.\n\n### Demo\n\nDudelDu comes with a demo playlist. After extracting DudelDu switch to the directory `examples/demo`. Run ./run_demo.sh (Linux) or run_demo.bat (Windows) to start the server.\n\nOpen a browser and view the `demo.html` in the `examples/demo` directory. To access the demo streams you are prompted for a username and password. The credentials are:\n```\nusername: web\npassword: web\n```\nYou can also point your favourite audio streaming client (e.g. VLC) to the streaming URL:\n```\nhttp://localhost:9091/bach/cello_suite1\n```\nThe demo includes also a small video in the [Nullsoft Streaming Video](https://en.wikipedia.org/wiki/Nullsoft_Streaming_Video) format (NSV). To see it point a video streaming client (e.g. VLC) to:\n```\nhttp://localhost:9091/trailer/big_buck_bunny\n```\nNote: By default you can only reach the streams via localhost. Use the -host parameter with a host name or IP address to expose it to external network peers.\n\n### Command line options\nThe main DudelDu executable has the following command line options:\n```\nDudelDu x.x.x\nUsage of ./dudeldu [options] \u003cplaylist\u003e\n  -?\tShow this help message\n  -auth string\n    \tAuthentication as \u003cuser\u003e:\u003cpass\u003e\n  -debug\n    \tEnable extra debugging output\n  -fqs int\n    \tFrame queue size (default 10000)\n  -host string\n    \tServer hostname to listen on (default \"127.0.0.1\")\n  -loop\n    \tLoop playlists\n  -port string\n    \tServer port to listen on (default \"9091\")\n  -pp string\n    \tPrefix all paths with a string\n  -shuffle\n    \tShuffle playlists\n  -tps int\n    \tThread pool size (default 10)\n\nAuthentication can also be defined via the environment variable: DUDELDU_AUTH=\"\u003cuser\u003e:\u003cpass\u003e\"\n```\n\nBuilding DudelDu\n----------------\nTo build DudelDu from source you need to have Go installed (go \u003e= 1.12):\n\nCreate a directory, change into it and run:\n```\ngit clone https://devt.de/krotik/dudeldu/ .\n```\n\nYou can build DudelDu's executable with:\n```\ngo build ./server/dudeldu.go\n```\n\nBuilding DudelDu as Docker image\n--------------------------------\nDudelDu can be build as a secure and compact Docker image.\n\n- Create a directory, change into it and run:\n```\ngit clone https://devt.de/krotik/dudeldu/ .\n```\n\n- You can now build the Docker image with:\n```\ndocker build --tag krotik/dudeldu .\n```\n\nLicense\n-------\nDudelDu source code is available under the [MIT License](/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrotik%2Fdudeldu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrotik%2Fdudeldu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrotik%2Fdudeldu/lists"}