{"id":21540082,"url":"https://github.com/pawcoding/short-link","last_synced_at":"2025-03-17T21:44:56.220Z","repository":{"id":191348010,"uuid":"684436345","full_name":"pawcoding/short-link","owner":"pawcoding","description":"This is a small demo project for showcasing the power of HTMX together with Bun.","archived":false,"fork":false,"pushed_at":"2023-12-12T14:54:19.000Z","size":225,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T08:11:40.611Z","etag":null,"topics":["beth","bun","daisyui","elysiajs","htmx","tailwind"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"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/pawcoding.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,"governance":null}},"created_at":"2023-08-29T05:53:38.000Z","updated_at":"2023-11-03T16:56:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a9b8d5f-c246-466e-bb24-86f08abf7606","html_url":"https://github.com/pawcoding/short-link","commit_stats":null,"previous_names":["pawcoding/short-link"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawcoding%2Fshort-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawcoding%2Fshort-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawcoding%2Fshort-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawcoding%2Fshort-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawcoding","download_url":"https://codeload.github.com/pawcoding/short-link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244117041,"owners_count":20400735,"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":["beth","bun","daisyui","elysiajs","htmx","tailwind"],"created_at":"2024-11-24T04:17:20.053Z","updated_at":"2025-03-17T21:44:56.197Z","avatar_url":"https://github.com/pawcoding.png","language":"HTML","readme":"# Short Link\n\nThis is a small demo project for showcasing the power of HTMX together with Bun.\nIt was originally created for a talk of mine at [FrankenJS Würzburg](https://www.meetup.com/de-DE/front-end-wuerzburg/) as an introduction to HTMX.\nTo learn more about this project, you can read the [blog post](https://blog.pawcode.de/posts/introduction-to-htmx) I wrote about it after the talk.\n\n## What is short link?\n\n![Screenshot](./short-link.png)\n\nIt is just a basic link shortener, with the ability to:\n\n- Create new short links\n- Use these short links to redirect to the original page\n- List all generated links and their usage\n- Delete old links\n\n_Please **do not** use this application in production as it has no security features built in and everyone can see and delete your links._\n\n## How to start the application\n\nTo run the application you first need to have [Bun](https://bun.sh/) installed. If not, you can do it by running:\n\n```bash\ncurl -fsSL https://bun.sh/install | bash\n```\n\nAfter you installed bun (and reloaded your .bashrc if necessary), you need to install the project and its dependencies by running:\n\n```bash\n# Download project files\ngit clone git@github.com:pawcoding/short-link.git\ncd short-link\n\n# Install dependencies\nbun install\n```\n\nTo then run the application, just type:\n\n```bash\n# Start the application\nbun run start\n\n# Or for automatic restarting\nbun run dev\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawcoding%2Fshort-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawcoding%2Fshort-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawcoding%2Fshort-link/lists"}