{"id":13581264,"url":"https://github.com/golangci/golangci-web","last_synced_at":"2025-04-06T07:31:53.059Z","repository":{"id":29496782,"uuid":"121855024","full_name":"golangci/golangci-web","owner":"golangci","description":"Web for GolangCI","archived":true,"fork":false,"pushed_at":"2022-12-10T20:32:29.000Z","size":6254,"stargazers_count":46,"open_issues_count":28,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T04:29:05.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/golangci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-17T12:51:08.000Z","updated_at":"2023-08-04T17:40:13.000Z","dependencies_parsed_at":"2023-01-14T15:15:52.326Z","dependency_job_id":null,"html_url":"https://github.com/golangci/golangci-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golangci%2Fgolangci-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golangci%2Fgolangci-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golangci%2Fgolangci-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golangci%2Fgolangci-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golangci","download_url":"https://codeload.github.com/golangci/golangci-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450075,"owners_count":20940853,"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":[],"created_at":"2024-08-01T15:01:59.793Z","updated_at":"2025-04-06T07:31:51.954Z","avatar_url":"https://github.com/golangci.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/golangci/golangci-web.svg?branch=master)](https://travis-ci.com/golangci/golangci-web)\n[![GolangCI](https://golangci.com/badges/github.com/golangci/golangci-web.svg)](https://golangci.com)\n\n## API\nThis repository contains code of web part of GolangCI.\n\n## Technologies\nWe use React, TypeScript, Redux. Antd is used as a UI framework.\n\n## Development\n### Prepare SSL certificate\n\nYou need to [generate self-signed SSL certificate](https://stackoverflow.com/a/41366949) for local caddy (default self-signed caddy certificates aren't allowed by modern browsers):\n\n```bash\nmkdir -p ssl\nopenssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout ssl/golangci.key -out ssl/golangci.crt -extensions san -config \u003c(echo \"[req]\"; echo distinguished_name=req; echo \"[san]\"; echo subjectAltName=DNS:dev.golangci.com,DNS:api.dev.golangci.com) -subj /CN=dev.golangci.com\n```\n\nAfter that add `golangci.crt` to the list of your OS trusted root CAs.\n\n### Run Caddy\n\nMap domains to the localhost:\n\n```bash\nsudo sh -c 'echo 127.0.0.1 dev.golangci.com \u003e\u003e/etc/hosts'\nsudo sh -c 'echo 127.0.0.1 api.dev.golangci.com \u003e\u003e/etc/hosts'\n```\n\nThe following will run Caddy server in background:\n\n```\nbrew install caddy\nsudo npm run caddy\n```\n\n### Run application server\n\n```bash\nnpm run dev\n```\n\nIt opens `https://dev.golangci.com` in a default browser.\n\n\n### How to lint code\n\n```bash\nnpm run lint_fix\n```\n\nIt will run `tslint` in auto-fix mode.\n\n### How to make test build\n\nWe deploy out code on Heroku. Heroku runs `npm run heroku-postbuild` to build code.\n\n### How to test SSR\n\n`npm run dev` runs dev-server without server-side rendering, to enable it run like in production:\n\n```\nnpm start\n```\n\n# Contributing\n\nSee [CONTRIBUTING](https://github.com/golangci/golangci-web/blob/master/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangci%2Fgolangci-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolangci%2Fgolangci-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangci%2Fgolangci-web/lists"}