Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsg-ut/ctfd-theme-tsgctf
Custom CTFd theme made for TSG CTF
https://github.com/tsg-ut/ctfd-theme-tsgctf
Last synced: about 2 months ago
JSON representation
Custom CTFd theme made for TSG CTF
- Host: GitHub
- URL: https://github.com/tsg-ut/ctfd-theme-tsgctf
- Owner: tsg-ut
- Created: 2019-04-24T11:41:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T12:29:40.000Z (9 months ago)
- Last Synced: 2024-04-11T14:12:41.771Z (9 months ago)
- Language: Vue
- Homepage: https://score.ctf.tsg.ne.jp/
- Size: 19.6 MB
- Stars: 29
- Watchers: 21
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - tsg-ut/ctfd-theme-tsgctf - Custom CTFd theme made for TSG CTF (Vue)
README
# ctfd-theme-tsgctf
Custom CTFd theme made for TSG CTF
![](https://i.imgur.com/mXFHBrf.png)
## Setup
```
cd /path/to/CTFd
git clone https://github.com/tsg-ut/ctfd-theme-tsgctf.git themes/tsgctf -b dist
```## Related projects
* [ctfd-plugin-tsgctf](https://github.com/tsg-ut/ctfd-plugin-tsgctf)
## Development
```bash
# install dependencies
$ npm install# serve with hot reload at localhost:3000
# when you use this please serve patched CTFd server as below at localhost:8000
$ npm run dev# build the theme into tsgctf directory
$ npm run build# build static website
$ SESSION=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx npm run generate
```Following patch is required during development (don't do this in production):
```patch
diff --git a/CTFd/api/v1/users.py b/CTFd/api/v1/users.py
index bd1d2ca9..3bbf28c0 100644
--- a/CTFd/api/v1/users.py
+++ b/CTFd/api/v1/users.py
@@ -125,16 +125,17 @@ class UserList(Resource):
"prev": users.prev_num,
"pages": users.pages,
"per_page": users.per_page,
"total": users.total,
}
},
"success": True,
"data": response.data,
+ "nonce": session.get("nonce"),
}
@admins_only
@users_namespace.doc(
description="Endpoint to create a User object",
responses={
200: ("Success", "UserDetailedSuccessResponse"),
400: (
```