Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.yarn/releases/** -diff -merge
.yarn/plugins/** -diff -merge
yarn.lock -diff

* text=auto eol=lf
10 changes: 0 additions & 10 deletions .prettierrc.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:24-slim AS prepare
WORKDIR /app

COPY packages ./packages
COPY package.json yarn.lock .yarnrc.yml lerna.json /prepared/
COPY package.json yarn.lock .yarnrc.yml /prepared/
COPY .yarn /prepared/.yarn

RUN find packages -maxdepth 2 -mindepth 2 -name package.json -exec dirname /prepared/'{}' ';' | xargs mkdir -p && \
Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
<img src="https://raw.githubusercontent.com/otter-sec/rctf/main/docs/content/assets/rctf-logotype-dark-1024.png" width="350px">
<picture>
<source srcset="https://raw.githubusercontent.com/otter-sec/rctf/main/docs/content/assets/rctf-logotype-dark-1024.png" media="(prefers-color-scheme: light)">
<img src="https://raw.githubusercontent.com/otter-sec/rctf/main/docs/content/assets/rctf-logotype-light-1024.png" width="350px" alt="rCTF logo">
</picture>

[![CI](https://github.com/otter-sec/rctf/actions/workflows/ci.yml/badge.svg)](https://github.com/otter-sec/rctf/actions/workflows/ci.yml)
[![Code Coverage](https://img.shields.io/codecov/c/github/otter-sec/rctf.svg)](https://codecov.io/github/otter-sec/rctf/)

rCTF is redpwnCTF's CTF platform. It is now developed and maintained by the [OtterSec](https://osec.io) team.

## Getting Started
## Getting started

To get started with rCTF, visit the docs at [rctf.osec.io](https://rctf.osec.io/installation/)
To get started with rCTF, visit the docs at [rctf.osec.io](https://rctf.osec.io/installation/).

If you need help with rCTF, join the [redpwnCTF Discord server](https://discord.gg/NkDNEE2) and ask questions in the `#rctf-help` channel.
If you need help with rCTF, [start a discussion](https://github.com/otter-sec/rctf/discussions).

## Deploying Challenges with rCTF
## Deploying challenges with rCTF

rCTF itself does not handle challenge deployments.

Optionally, you can use [rCDS](https://github.com/redpwn/rcds) to deploy challenges. It is heavily integrated with rCTF.

## Development
## Contributing

We would love your help! Please see [our CONTRIBUTING.md](CONTRIBUTING.md).
We would love your help! Please see [our CONTRIBUTING.md](.github/CONTRIBUTING.md).
5 changes: 0 additions & 5 deletions lerna.json

This file was deleted.

17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"scripts": {
"lint": "eslint .",
"typecheck": "tsc -b packages",
"build": "lerna run build",
"build": "yarn workspaces foreach -Apt run build",
"dev": "concurrently -k -t \"HH:mm:ss.SSS\" -p \"[{time}]\" -c \"cyan,green,blue\" \"yarn workspace @rctf/client dev\" \"yarn workspace @rctf/server watch-server\" \"yarn workspace @rctf/server watch-ts --preserveWatchOutput\"",
"test": "jest",
"test:report": "yarn test --coverage",
"packall": "lerna exec -- yarn pack",
"packall": "yarn workspaces foreach -Apt exec yarn pack",
"postinstall": "husky install"
},
"devDependencies": {
Expand Down Expand Up @@ -40,12 +40,23 @@
"eslint-plugin-testing-library": "5.0.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lerna": "4.0.0",
"lint-staged": "11.2.6",
"nodemon": "2.0.14",
"prettier": "2.4.1",
"typescript": "4.4.4"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid"
},
"description": "rCTF is redpwnCTF's CTF platform. It is developed and maintained by the [redpwn](https://redpwn.net) CTF team.",
"repository": {
"type": "git",
Expand Down
Loading