• This repository has been archived on 21/Jan/2021
  • Stars
    star
    147
  • Rank 250,355 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hole react frontend

The Seed

A refined version of the front-end code used at PKU Helper.

Note that this repository does not belong to any website. Developers of this repository take no responsibility of contents on websites using it.

We do not provide any kind of tech support. Use at your own risk.

Installation

A corresponding backend server is required to host APIs for the front-end code. Visit jimmielin/the-light for setup instructions for backend server.

Install nodejs and run npm install to install requirements.

As a normal Create-React-App project, run npm start to start local dev server, and run npm run build to build production HTML files into build directory.

You may need to run git submodule init && git submodule update --remote if submodule is not cloned.

Customization and Configuration

All branding information (e.g. website title, API domain, slogan) has been removed, and it is up to you to customize them.

Those customizable variables start with _BRAND in their name. You can search for _BRAND_ in src and public directory and replace all occurrences to the value you want.

Moreover, index.html includes these vital parameters that you would mostly like to change:

  • __WEBHOLE_HAPI_DOMAIN: hole backend API domain, e.g. https://hapi.your_domain.com
  • __WEBHOLE_GATEWAY_DOMAIN: gateway domain for user management, e.g. https://gateway.your_domain.com
  • __WEBHOLE_DEV_SERVER_FLAG: set to true if it is a development environment (will show an alert on the page)
  • __WEBHOLE_DISABLE_WEBP: set to true if hole backend API does not support webp image format

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

More Repositories

1

pakku.js

拯救B站的弹幕体验!
TypeScript
2,003
star
2

GoFW

Chrome 扩展:麻麻再也不用担心 Google API 抽风了
JavaScript
228
star
3

bilibili-ban-list

居家旅行常备的B站弹幕屏蔽列表
147
star
4

xmpaint

处理有向图的有力工具
Python
72
star
5

HEED-GUI

在选课季有一些作用的小玩意
Python
62
star
6

ReAM

从零开始的键盘记录器
Python
53
star
7

ACFan

名副其实的自动AC机
Python
42
star
8

QRCD

QQMusic lyrics crawler & decoder
HTML
31
star
9

elective-dataset-2021spring

某学校选课系统GIF验证码数据集 + Baseline模型 + 上下游相关工具
Python
29
star
10

pku-eutopia

兆京大学班车预约 for Humans™
JavaScript
26
star
11

pakku-mobile-proxy

To invoke pakku on Bilibili mobile app
JavaScript
23
star
12

pakku-advanced-filter

B站弹幕屏蔽Pro+
JavaScript
21
star
13

bilibili-id-displayer

用户脚本:显示B站视频av号、BV号、弹幕CID
JavaScript
20
star
14

pku-syllabus

PKU课表助手
JavaScript
14
star
15

ddl-phoenix

the deadline manager: front-end
JavaScript
13
star
16

reader

Simple HTML5 Text Reader
HTML
12
star
17

atoz

(a course project) SysY-to-RISCV compiler
C++
11
star
18

pakku.py

The eternal danmaku devil on bilibili
Python
9
star
19

yosoro

来给大家做现场的SIF表演
HTML
8
star
20

misaki

录屏工具条
Python
7
star
21

pkugkd

P大网关(PKU Gateway Keeping Daemon)for Chrome
JavaScript
7
star
22

bilipager

B站分P切换侧边栏
JavaScript
7
star
23

whatclass

What class is it now?
JavaScript
6
star
24

cer

多人在线联机史诗级网游……嗯……单词接龙
HTML
6
star
25

pytrade

HTTP Proxy for Humans
Python
6
star
26

botzone-mccts

the BotZone AI in your own computer, with ~10s time limit!
Python
5
star
27

tiroFinale

HTTP(S) Proxy in Python
Python
5
star
28

webscore

My Score react frontend
JavaScript
5
star
29

pyMatcher

OI 业界良心系列 简易的评测程序,秒杀cena(大雾
Tcl
4
star
30

ddl-bee

the deadline manager: back-end
Python
4
star
31

chemcalc

计算原子量的有力工具 (非清真)
Python
3
star
32

loveliv

Personal LoveLive SIF Event Tracker
Python
2
star
33

browser-testbench

史诗(误)
JavaScript
2
star
34

xkmod

abandoned
JavaScript
2
star
35

xkmad

自动抢课插件
Python
2
star
36

qmdown

通过iFile网页服务器下载iOS版QQ音乐的已缓存歌曲
Python
2
star
37

defuz

OI界良心系列:数据生成器
Python
2
star
38

tilt-controller

Remote control via gyroscope
JavaScript
2
star
39

waver

Wave file generator
Python
1
star
40

WanZi

NetenSec Content Filter Cracker
JavaScript
1
star
41

misaka

Mathematica Input Sequence Analyzer and Keystroke Assistant
Python
1
star
42

renamer

批量文件重命名工具
Tcl
1
star
43

kylinOJ

[ABANDONED] Ultra-Safe Online Judge System Based on VirtualBox
Python
1
star
44

osufm

Osu Flame Master: The Human Way to Search and Download Osu! Beatmaps
HTML
1
star
45

JudgeLight

代码一键提交OJ,刷题必备
Python
1
star
46

LrcPlayer

A simple react audio player with lyrics
JavaScript
1
star
47

9alpha

A tool for chrome extensions that modify HTTP response
JavaScript
1
star