[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1600":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":15,"starSnapshotCount":15,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},1600,"harness","harness\u002Fharness","Harness Open Source is an end-to-end developer platform with Source Control Management, CI\u002FCD Pipelines, Hosted Developer Environments, and Artifact Registries.","https:\u002F\u002Fwww.harness.io\u002Fopen-source",null,"Go",36669,3210,536,86,0,24,263,1062,154,45,"Apache License 2.0",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37],"build-automation","build-pipelines","ci","ci-cd","code-repository","continuous-delivery","continuous-integration","docker","git","go","hacktoberfest","scm","2026-06-12 02:00:30","# Harness\nHarness Open Source is an open source development platform packed with the power of code hosting, automated DevOps pipelines, hosted development environments (Gitspaces), and artifact registries.\n\n## Overview\nHarness Open source is an open source development platform packed with the power of code hosting, automated DevOps pipelines, Gitspaces, and artifact registries.\n\n\n## Running Harness locally\n> The latest publicly released docker image can be found on [harness\u002Fharness](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fharness\u002Fharness).\n\nTo install Harness yourself, simply run the command below. Once the container is up, you can visit http:\u002F\u002Flocalhost:3000 in your browser.\n\n```bash\ndocker run -d \\\n  -p 3000:3000 \\\n  -p 3022:3022 \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  -v \u002Ftmp\u002Fharness:\u002Fdata \\\n  --name harness \\\n  --restart always \\\n  harness\u002Fharness\n```\n> The Harness image uses a volume to store the database and repositories. It is highly recommended to use a bind mount or named volume as otherwise all data will be lost once the container is stopped.\n\nSee [developer.harness.io](https:\u002F\u002Fdeveloper.harness.io\u002Fdocs\u002Fopen-source) to learn how to get the most out of Harness.\n\n## Where is Drone?\n\nHarness Open Source represents a massive investment in the next generation of Drone. Where Drone focused solely on continuous integration, Harness adds source code hosting, developer environments (gitspaces), and artifact registries; providing teams with an end-to-end, open source DevOps platform.\n\nThe goal is for Harness to eventually be at full parity with Drone in terms of pipeline capabilities, allowing users to seamlessly migrate from Drone to Harness.\n\nBut, we expect this to take some time, which is why we took a snapshot of Drone as a feature branch [drone](https:\u002F\u002Fgithub.com\u002Fharness\u002Fharness\u002Ftree\u002Fdrone) ([README](https:\u002F\u002Fgithub.com\u002Fharness\u002Fharness\u002Fblob\u002Fdrone\u002F.github\u002Freadme.md)) so it can continue development.\n\nAs for Harness, the development is taking place on the [main](https:\u002F\u002Fgithub.com\u002Fharness\u002Fharness\u002Ftree\u002Fmain) branch.\n\nFor more information on Harness, please visit [developer.harness.io](https:\u002F\u002Fdeveloper.harness.io\u002F).\n\nFor more information on Drone, please visit [drone.io](https:\u002F\u002Fwww.drone.io\u002F).\n\n## Harness Open Source Development\n### Pre-Requisites\n\nInstall the latest stable version of Node and Go version 1.20 or higher, and then install the below Go programs. Ensure the GOPATH [bin directory](https:\u002F\u002Fgo.dev\u002Fdoc\u002Fgopath_code#GOPATH) is added to your PATH.\n\nInstall protobuf\n- Check if you've already installed protobuf ```protoc --version```\n- If your version is different than v3.21.11, run ```brew unlink protobuf```\n- Get v3.21.11 ```curl -s https:\u002F\u002Fraw.githubusercontent.com\u002FHomebrew\u002Fhomebrew-core\u002F9de8de7a533609ebfded833480c1f7c05a3448cb\u002FFormula\u002Fprotobuf.rb > \u002Ftmp\u002Fprotobuf.rb```\n- Install it ```brew install \u002Ftmp\u002Fprotobuf.rb```\n- Check out your version ```protoc --version```\n\nInstall protoc-gen-go and protoc-gen-go-rpc:\n\n- Install protoc-gen-go v1.28.1 ```go install google.golang.org\u002Fprotobuf\u002Fcmd\u002Fprotoc-gen-go@v1.28.1```\n(Note that this will install a binary in $GOBIN so make sure $GOBIN is in your $PATH)\n\n- Install protoc-gen-go-grpc v1.2.0 ```go install google.golang.org\u002Fgrpc\u002Fcmd\u002Fprotoc-gen-go-grpc@v1.2.0```\n\n```bash\n$ make dep\n$ make tools\n```\n\n### Build\n\nFirst step is to build the user interface artifacts:\n\n```bash\n$ pushd web\n$ yarn install\n$ yarn build\n$ popd\n```\n\nAfter that, you can build the Harness binary:\n\n```bash\n$ make build\n```\n\n### Run\n\nThis project supports all operating systems and architectures supported by Go.  This means you can build and run the system on your machine; docker containers are not required for local development and testing.\n\nTo start the server at `localhost:3000`, simply run the following command:\n\n```bash\n.\u002Fgitness server .local.env\n```\n\n### Docker Configuration for Pipelines\n\nHarness pipelines run inside Docker containers. The application automatically negotiates the Docker API version with your Docker daemon, so it works with various Docker versions including Docker Desktop, Rancher Desktop, Colima, and native Docker on Linux.\n\n**Docker Socket Location**\n\nBy default, Harness expects the Docker socket at `\u002Fvar\u002Frun\u002Fdocker.sock`. If you're using an alternative Docker runtime, you may need to configure the socket location:\n\n| Runtime | Socket Location | Configuration |\n|---------|-----------------|---------------|\n| Docker Desktop | `\u002Fvar\u002Frun\u002Fdocker.sock` | Works by default |\n| Rancher Desktop | `~\u002F.rd\u002Fdocker.sock` | Create symlink or set `GITNESS_DOCKER_HOST` |\n| Colima | `~\u002F.colima\u002Fdefault\u002Fdocker.sock` | Create symlink or set `GITNESS_DOCKER_HOST` |\n| Linux (native) | `\u002Fvar\u002Frun\u002Fdocker.sock` | Works by default |\n\n**Option 1: Create a symlink (recommended)**\n```bash\n# For Rancher Desktop\nsudo ln -sf ~\u002F.rd\u002Fdocker.sock \u002Fvar\u002Frun\u002Fdocker.sock\n\n# For Colima\nsudo ln -sf ~\u002F.colima\u002Fdefault\u002Fdocker.sock \u002Fvar\u002Frun\u002Fdocker.sock\n```\n\n**Option 2: Set environment variable**\n\nAdd to your `.local.env`:\n```bash\n# For Rancher Desktop\nGITNESS_DOCKER_HOST=unix:\u002F\u002F\u002FUsers\u002F\u003Cusername>\u002F.rd\u002Fdocker.sock\n\n# For Colima\nGITNESS_DOCKER_HOST=unix:\u002F\u002F\u002FUsers\u002F\u003Cusername>\u002F.colima\u002Fdefault\u002Fdocker.sock\n```\n\n**Pinning Docker API Version**\n\nThe application automatically negotiates the API version with your Docker daemon. If you need to pin a specific version (e.g., for compatibility testing), you can set:\n```bash\nGITNESS_DOCKER_API_VERSION=1.45\n```\n\n### Auto-Generate Harness API Client used by UI using Swagger\nPlease make sure to update the autogenerated client code used by the UI when adding new rest APIs.\n\nTo regenerate the code, please execute the following steps:\n- Regenerate swagger with latest Harness binary `.\u002Fgitness swagger > web\u002Fsrc\u002Fservices\u002Fcode\u002Fswagger.yaml`\n- navigate to the `web` folder and run `yarn services`\n\nThe latest API changes should now be reflected in `web\u002Fsrc\u002Fservices\u002Fcode\u002Findex.tsx`\n\n# Run Registry Conformance Tests\n```\nmake conformance-test\n```\nFor running conformance tests with existing running service, use:\n```\nmake hot-conformance-test\n```\n\n## User Interface\n\nThis project includes a full user interface for interacting with the system. When you run the application, you can access the user interface by navigating to `http:\u002F\u002Flocalhost:3000` in your browser.\n\n## REST API\n\nThis project includes a swagger specification. When you run the application, you can access the swagger specification by navigating to `http:\u002F\u002Flocalhost:3000\u002Fswagger` in your browser (for raw yaml see `http:\u002F\u002Flocalhost:3000\u002Fopenapi.yaml`).\nFor registry endpoints, currently swagger is located on different endpoint `http:\u002F\u002Flocalhost:3000\u002Fregistry\u002Fswagger\u002F` (for raw json see `http:\u002F\u002Flocalhost:3000\u002Fregistry\u002Fswagger.json`). These will be later moved to the main swagger endpoint. \n\n\nFor testing, it's simplest to just use the cli to create a token (this requires Harness server to run):\n```bash\n# LOGIN (user: admin, pw: changeit)\n$ .\u002Fgitness login\n\n# GENERATE PAT (1 YEAR VALIDITY)\n$ .\u002Fgitness user pat \"my-pat-uid\" 2592000\n```\n\nThe command outputs a valid PAT that has been granted full access as the user.\nThe token can then be send as part of the `Authorization` header with Postman or curl:\n\n```bash\n$ curl http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fv1\u002Fuser \\\n-H \"Authorization: Bearer $TOKEN\"\n```\n\n\n## CLI\nThis project includes VERY basic command line tools for development and running the service. Please remember that you must start the server before you can execute commands.\n\nFor a full list of supported operations, please see\n```bash\n$ .\u002Fgitness --help\n```\n\n## Contributing\n\nRefer to [CONTRIBUTING.md](https:\u002F\u002Fgithub.com\u002Fharness\u002Fharness\u002Fblob\u002Fmain\u002FCONTRIBUTING.md)\n\n## License\n\nApache License 2.0, see [LICENSE](https:\u002F\u002Fgithub.com\u002Fharness\u002Fharness\u002Fblob\u002Fmain\u002FLICENSE).\n","Harness Open Source 是一个集成了源代码管理、CI\u002FCD 流水线、托管开发环境和制品仓库的端到端开发者平台。它使用 Go 语言编写，支持构建自动化、持续集成与交付等功能，并且能够与 Docker 和 Git 等工具无缝集成。该项目特别适合需要高效管理软件开发生命周期的企业或团队，无论是小型项目还是大规模应用开发都能从中受益。通过提供一站式的 DevOps 解决方案，Harness 帮助用户简化工作流程，提高生产力。此外，Harness 还致力于成为 Drone CI 的下一代替代品，在保留原有功能的基础上增加了更多特性，如代码托管服务和开发环境管理。",2,"2026-06-11 02:44:55","top_all"]