{"id":20204578,"url":"https://github.com/wilsonsilva/fiber-htmx","last_synced_at":"2025-04-10T12:12:41.865Z","repository":{"id":192203680,"uuid":"685935575","full_name":"wilsonsilva/fiber-htmx","owner":"wilsonsilva","description":"Go Fiber + HTMX PoC","archived":false,"fork":false,"pushed_at":"2023-11-27T09:01:35.000Z","size":221,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T08:55:46.806Z","etag":null,"topics":["flowbite","go","go-fiber","golang","hot-reloading","htmx","tailwind","tailwind-css"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/wilsonsilva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-01T10:58:13.000Z","updated_at":"2025-02-14T13:34:30.000Z","dependencies_parsed_at":"2023-09-03T10:48:17.322Z","dependency_job_id":"8178a885-4379-4b5d-8e7c-17ffb78983e2","html_url":"https://github.com/wilsonsilva/fiber-htmx","commit_stats":null,"previous_names":["wilsonsilva/fiber-htmx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Ffiber-htmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Ffiber-htmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Ffiber-htmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsilva%2Ffiber-htmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsonsilva","download_url":"https://codeload.github.com/wilsonsilva/fiber-htmx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217080,"owners_count":21066633,"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":["flowbite","go","go-fiber","golang","hot-reloading","htmx","tailwind","tailwind-css"],"created_at":"2024-11-14T05:13:59.482Z","updated_at":"2025-04-10T12:12:41.847Z","avatar_url":"https://github.com/wilsonsilva.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTMX + Go Fiber\n\nA proof of concept HTMX app with a Go Fiber backend. Displays a list of tickers from polygon.io\nand a list of news related to the ticker.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/assets/home-page.png?raw=true\" alt=\"Home page\" width=\"25%\" height=\"auto\"/\u003e\n\u003c/p\u003e\n\n## Requirements\n\n- Go `1.21+`\n- An API key from [Polygon.io](https://polygon.io/dashboard/api-keys)\n\n## Installation\n\nCopy `.env.example` to `.env` and add your Polygon.io API key.\n\nFetch the dependencies\n```sh\ngo get\n```\n\n## Development\n\nRun the following commands to build the Tailwind CSS classes:\n\n```sh\nnpm install\nnpm run dev\n```\n\nOr if you prefer to use [bun](https://bun.sh/):\n\n```sh\nbun install\nbun run dev\n```\n\nThere are two options to start the web server:\n- without hot reloading\n- with hot reloading\n\n### Without hot reloading\n\n```sh\ngo run .\n```\n\n### With hot reloading\n\nGo Fiber does not have a hot reloading feature. Install [`air`](https://github.com/cosmtrek/air#installation) to run\nthe app with hot reloading.\n\n```sh\nair\n```\n\n```\n  __    _   ___\n / /\\  | | | |_)\n/_/--\\ |_| |_| \\_ v1.49.0, built with Go go1.21.4\n\nwatching .\nwatching bin\n!exclude node_modules\nwatching public\nwatching src\n!exclude tmp\nwatching views\nbuilding...\nrunning...\n\n ┌───────────────────────────────────────────────────┐\n │                   Fiber v2.51.0                   │\n │               http://127.0.0.1:3000               │\n │       (bound on host 0.0.0.0 and port 3000)       │\n │                                                   │\n │ Handlers ............. 7  Processes ........... 1 │\n │ Prefork ....... Disabled  PID ............. 76782 │\n └───────────────────────────────────────────────────┘\n```\n\nThen open the browser to http://localhost:3000. You should be able to search for a stock's ticker\nupon clicking on a ticker, you should see a list of news related to the ticker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsilva%2Ffiber-htmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonsilva%2Ffiber-htmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsilva%2Ffiber-htmx/lists"}