{"id":21221911,"url":"https://github.com/fontseca/playground","last_synced_at":"2025-04-13T23:03:50.885Z","repository":{"id":253144341,"uuid":"835521201","full_name":"fontseca/playground","owner":"fontseca","description":"A web-based HTTP client designed for testing raw web APIs or those imported from Postman collections in JSON format. This tool functions as a plugin on my website, primarily to highlight my work as a back-end engineer.","archived":false,"fork":false,"pushed_at":"2025-01-11T18:20:16.000Z","size":140,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T23:02:57.204Z","etag":null,"topics":["api","css","golang","html","http","http-client","javascript","json","playground","postman"],"latest_commit_sha":null,"homepage":"https://fontseca.dev/playground","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/fontseca.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,"zenodo":null}},"created_at":"2024-07-30T02:31:23.000Z","updated_at":"2025-03-11T05:36:07.000Z","dependencies_parsed_at":"2024-11-20T22:47:30.567Z","dependency_job_id":"bbb415ec-974c-4ccc-84b5-bf81f26a7db4","html_url":"https://github.com/fontseca/playground","commit_stats":null,"previous_names":["fontseca/playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontseca%2Fplayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontseca%2Fplayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontseca%2Fplayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fontseca%2Fplayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fontseca","download_url":"https://codeload.github.com/fontseca/playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794571,"owners_count":21162614,"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":["api","css","golang","html","http","http-client","javascript","json","playground","postman"],"created_at":"2024-11-20T22:36:01.217Z","updated_at":"2025-04-13T23:03:50.865Z","avatar_url":"https://github.com/fontseca.png","language":"Go","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003efontseca.dev's playground\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cfigure\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/5abba5fd-9f02-4a11-b818-96c4437dfa36\" alt=\"playground\"/\u003e\n  \u003cfigcaption\u003e\n    \u003cp\u003e\u003ci\u003eA screenshot of the initial version of the fontseca.dev's playground running with a collection exported from Postman.\u003c/i\u003e\u003c/p\u003e\n  \u003c/figcaption\u003e\n\u003c/figure\u003e\n\nThe fontseca.dev's playground is a web-based HTTP client designed for testing APIs. It was originally built with the\nintent to have a dedicated space to showcase my work as a back-end engineer, but it can be used with other third-party\nAPIs.\n\n## Features\n\nThe Playground currently supports HTTP/1.1 servers and allows importing Postman collections in JSON format. It handles\n\nThe playground supports the following HTTP methods:\n\n- GET,\n- POST,\n- PUT,\n- PATCH,\n- and DELETE.\n\n### HTTP request features\n\n- Query parameters\n- HTTP headers\n- HTTP body\n\nThe HTTP request body is passed as a raw string, with content differentiated by the `Content-Type` header.\n\n### HTTP response features\n\n- Response body\n- HTTP headers\n- Cookies\n\n## Getting Started\n\nTo get started working with the Playground, clone this repository and simply run the application. You'll need to install\nthe [templ](https://github.com/a-h/templ) command to generate the website code.\n\nBy default, the Playground is intended to be used as a plug-in within a wrapper project. I use it as a Git submodule in\nmy [website's codebase](https://github.com/fontseca/.dev). If you want to run it separately, you'll have to create a\n`go.mod` file.\n\n1. Clone the repository:\n\n    ```shell\n    git clone git@github.com:fontseca/playground.git\n    cd playground/\n    ```\n\n2. Generate the `website.templ` file:\n\n    ```shell\n    ~/go/bin/templ generate\n    Processing path: /home/fontseca/playground\n   (!) templ version check failed: failed to read go.mod file: open /go.mod: no such file or directory\n   Generating production code: /home/fontseca/playground\n   (✓) Generated code for \"/home/fontseca/playground/website.templ\" in 26.710246ms\n   (✓) Generated code for 1 templates with 0 errors in 27.004517ms\n    ```\n\n3. Start a Go module called `playground`:\n\n   ```shell\n   go mod init playground\n   go mod tidy\n   ```\n\n4. And finally, run the Playground:\n\n   ```shell\n   go run cmd/playground/main.go\n   running fontseca.dev/playground server at 172.17.0.1:40273\n   ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffontseca%2Fplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffontseca%2Fplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffontseca%2Fplayground/lists"}