{"id":20096711,"url":"https://github.com/teocci/go-fiber-web","last_synced_at":"2025-05-06T05:31:47.127Z","repository":{"id":186509934,"uuid":"607183650","full_name":"teocci/go-fiber-web","owner":"teocci","description":"Go-Fiber-Web is an open-source project utilizing the Go Fiber framework for building web servers. It provides a clean and basic project structure, equipped with scripts for easy deployment on Linux servers. Note that it's designed for security research purposes only. ","archived":false,"fork":false,"pushed_at":"2023-09-06T18:03:40.000Z","size":971,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T08:51:19.431Z","etag":null,"topics":["fiber","fiber-framework","golang","webserver"],"latest_commit_sha":null,"homepage":"https://github.com/teocci/go-fiber-web","language":"JavaScript","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/teocci.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,"publiccode":null,"codemeta":null}},"created_at":"2023-02-27T13:43:05.000Z","updated_at":"2024-01-23T09:44:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"38c8b096-8028-4653-aeb7-6e0f26c4aebd","html_url":"https://github.com/teocci/go-fiber-web","commit_stats":null,"previous_names":["teocci/go-fiber-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teocci%2Fgo-fiber-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teocci%2Fgo-fiber-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teocci%2Fgo-fiber-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teocci%2Fgo-fiber-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teocci","download_url":"https://codeload.github.com/teocci/go-fiber-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252629094,"owners_count":21779141,"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":["fiber","fiber-framework","golang","webserver"],"created_at":"2024-11-13T16:59:37.164Z","updated_at":"2025-05-06T05:31:45.935Z","avatar_url":"https://github.com/teocci.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## go-fiber-web [![Go Reference][1]][2]\r\n\r\n`go-fiber-web` is an open-source sample using fiber as a webserver as basic clean project.\r\n\r\n## Disclaimer\r\n\u003e This tool is limited to security research only, and the user assumes all legal and related responsibilities arising from its use! The author assumes no legal responsibility!\r\n\r\n## config\r\nChange the port for the web server on the `config.json` file\r\n```json\r\n{\r\n  \"web\": {\r\n    \"port\": 9012\r\n  }\r\n}\r\n```\r\nadd a .env file with the following variables\r\n\r\n```env\r\nMPS_API_SECRET=\u003cHASH\u003e\r\n```\r\n\r\n## Run\r\n```bash\r\ngo run main.go\r\n\r\nopen http://localhost:9012/page.html\r\n```\r\n\r\n### Scripts\r\n```bash\r\n@echo off\r\n\r\nset APP_NAME=wb-analyzer\r\nset PROJECT_PATH=D:\\code\\go\\%APP_NAME%\r\nset BIN_PATH=%PROJECT_PATH%\\bin\r\nset VIEWS_PATH=%PROJECT_PATH%\\views\r\nset WEB_PATH=%PROJECT_PATH%\\web\r\n\r\necho Pulling from Git...\r\ncd %PROJECT_PATH%\r\ngit pull\r\n\r\necho Building Go project...\r\ngo build -o %APP_NAME%.exe\r\n\r\necho Copying files...\r\nxcopy /y /d /i %APP_NAME%.exe %BIN_PATH%\r\nxcopy /y /d /i .env %BIN_PATH%\r\nxcopy /y /d /i config.json %BIN_PATH%\r\nxcopy /y /d /i %VIEWS_PATH%\\* %BIN_PATH%\r\nxcopy /y /d /i %WEB_PATH%\\* %BIN_PATH%\r\n\r\necho Build and copy completed.\r\n\r\npause\r\n```\r\n\r\n\r\n```bash\r\n# run the server\r\n@echo off\r\n\r\nset APP_NAME=wb-analyzer\r\nset BIN_PATH=D:\\code\\go\\%APP_NAME%\\bin\r\n\r\necho Running the executable...\r\ncd %BIN_PATH%\r\n%APP_NAME%.exe\r\n\r\npause\r\n```\r\n\r\n\r\n[1]: https://pkg.go.dev/badge/github.com/teocci/go-fiber-web.svg\r\n[2]: https://pkg.go.dev/github.com/teocci/go-fiber-web\r\n[3]: https://github.com/teocci/go-fiber-web/releases/tag/v1.0.0\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteocci%2Fgo-fiber-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteocci%2Fgo-fiber-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteocci%2Fgo-fiber-web/lists"}