{"id":22466802,"url":"https://github.com/skillfulelectro/http_serve","last_synced_at":"2025-03-27T15:19:48.750Z","repository":{"id":231314152,"uuid":"781441270","full_name":"SkillfulElectro/http_serve","owner":"SkillfulElectro","description":"small http utility to host websites for test from the shell","archived":false,"fork":false,"pushed_at":"2024-04-03T12:44:38.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T19:13:27.368Z","etag":null,"topics":["file-sharing","go","golang","gui","gui-application","http","http-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkillfulElectro.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-03T11:44:54.000Z","updated_at":"2024-04-04T10:06:44.000Z","dependencies_parsed_at":"2024-04-03T13:43:38.767Z","dependency_job_id":null,"html_url":"https://github.com/SkillfulElectro/http_serve","commit_stats":null,"previous_names":["skillfulelectro/http_serve"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkillfulElectro%2Fhttp_serve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkillfulElectro%2Fhttp_serve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkillfulElectro%2Fhttp_serve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkillfulElectro%2Fhttp_serve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkillfulElectro","download_url":"https://codeload.github.com/SkillfulElectro/http_serve/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245868327,"owners_count":20685609,"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":["file-sharing","go","golang","gui","gui-application","http","http-server"],"created_at":"2024-12-06T10:13:43.455Z","updated_at":"2025-03-27T15:19:48.722Z","avatar_url":"https://github.com/SkillfulElectro.png","language":"Go","readme":"# http_serve: A Simple HTTP Utility for Hosting Websites\nhttp_serve is a small utility that allows you to quickly host websites for testing purposes directly from the shell. Whether you’re testing a web page, serving static files, or sharing content locally, http_serve simplifies the process.\n\n# Installation\n\nTo install http_serve, follow these steps:\n\n```shell\n$ git clone https://github.com/SkillfulElectro/http_serve.git\n$ make\n```\n# Usage\n\n## Serve the Current Directory\n\nTo serve the contents of the current directory, simply run:\n\n```shell\n$ http_serve\n```\n## Serve Another Directory or File\n\nIf you want to serve files from a specific directory or a single file, provide the path as an argument:\n\n```shell\n$ http_serve File_or_dir_path\n```\n\nReplace File_or_dir_path with the actual path to the directory or file you want to serve.\n\n# Extra Possibilities with http_serve\n\n## GUI Applications and File Transfer:\n\nThe concept behind http_serve can be extended to create GUI applications. By designing a user interface (UI) using web technologies (HTML, CSS, JavaScript), you can serve the UI directly from your shell.\n\nAdditionally, this small utility can be handy for transferring files without the need for cables. Imagine the convenience of sharing files directly from your shell over a local area network (LAN)!\n\n### File Transfer via LAN:\n\nSuppose you have two devices connected via LAN. The sender can use http_serve to serve a specific file or an entire directory. The receiver can then connect to the website hosted by the sender and download any files they need from the LAN network.\n\n### GUI Applications with Web Frontend and Backend:\n\n    When creating GUI applications, you can use web technologies \n    for the frontend (UI) and choose any backend technology you prefer.\n    Here’s how it works:\n        Design your UI using HTML, CSS, and JavaScript.\n        Call http_serve to serve your UI on a local web server.\n        Use websockets, REST APIs, or other communication methods to connect your frontend to the backend logic.\n        The backend can be written in any language or framework of your choice (e.g., Python, Go, Node.js, etc.).\n\n\nEnjoy using http_serve for quick and easy local web hosting! 🚀\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillfulelectro%2Fhttp_serve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskillfulelectro%2Fhttp_serve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillfulelectro%2Fhttp_serve/lists"}