Skip to content

Commit f5641c4

Browse files
V1.1.0版本
1 parent 919a49a commit f5641c4

1,043 files changed

Lines changed: 208712 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Preview-Image/1.png

56.1 KB
Loading

Preview-Image/2.png

65 KB
Loading

Preview-Image/3.png

73.9 KB
Loading

Preview-Image/4.png

63.7 KB
Loading

Preview-Image/5.png

53.9 KB
Loading

README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,38 @@
1-
# Electron-SIMGUI
2-
本项目是基于Electron和element UI开发的一款代码查重软件,其内核使用了SIM(SIM是Dick Grune开发的一款代码查重软件)
1+
# 基于Electron和element UI的代码查重软件
2+
## 一、项目简介
3+
4+
本项目是基于Electron和element UI开发的一款代码查重软件,其内核使用了开源软件[SIM](https://dickgrune.com/Programs/similarity_tester/)(SIM是大佬[Dick Grune](https://dickgrune.com/)开发的一款代码查重软件)
5+
6+
本项目为SIM添加了GUI界面,简化了操作,技术含量不高,如有错漏,请大佬们指出。
7+
8+
## 二、代码使用方式
9+
10+
```shell
11+
# nodeJS版本 v12.19.0
12+
# electron版本 v10.1.4
13+
14+
# Clone this repository
15+
git clone https://github.com/ZxfBugProgrammer/Electron-SIMGUI.git
16+
# Go into the repository
17+
cd Electron-SIMGUI
18+
# Install dependencies
19+
npm install
20+
# Run the app
21+
npm start
22+
```
23+
24+
## 三、软件预览图
25+
26+
![预览图1](./Preview-Image/1.png)
27+
28+
![预览图2](./Preview-Image/2.png)
29+
30+
![预览图3](./Preview-Image/3.png)
31+
32+
![预览图4](./Preview-Image/4.png)
33+
34+
![预览图5](./Preview-Image/5.png)
35+
36+
## 四、联系方式
37+
38+
如有问题可联系邮箱 1150123839@qq.com

css/highlight/a11y-dark.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/* a11y-dark theme */
2+
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
3+
/* @author: ericwbailey */
4+
5+
/* Comment */
6+
.hljs-comment,
7+
.hljs-quote {
8+
color: #d4d0ab;
9+
}
10+
11+
/* Red */
12+
.hljs-variable,
13+
.hljs-template-variable,
14+
.hljs-tag,
15+
.hljs-name,
16+
.hljs-selector-id,
17+
.hljs-selector-class,
18+
.hljs-regexp,
19+
.hljs-deletion {
20+
color: #ffa07a;
21+
}
22+
23+
/* Orange */
24+
.hljs-number,
25+
.hljs-built_in,
26+
.hljs-builtin-name,
27+
.hljs-literal,
28+
.hljs-type,
29+
.hljs-params,
30+
.hljs-meta,
31+
.hljs-link {
32+
color: #f5ab35;
33+
}
34+
35+
/* Yellow */
36+
.hljs-attribute {
37+
color: #ffd700;
38+
}
39+
40+
/* Green */
41+
.hljs-string,
42+
.hljs-symbol,
43+
.hljs-bullet,
44+
.hljs-addition {
45+
color: #abe338;
46+
}
47+
48+
/* Blue */
49+
.hljs-title,
50+
.hljs-section {
51+
color: #00e0e0;
52+
}
53+
54+
/* Purple */
55+
.hljs-keyword,
56+
.hljs-selector-tag {
57+
color: #dcc6e0;
58+
}
59+
60+
.hljs {
61+
display: block;
62+
overflow-x: auto;
63+
background: #2b2b2b;
64+
color: #f8f8f2;
65+
padding: 0.5em;
66+
}
67+
68+
.hljs-emphasis {
69+
font-style: italic;
70+
}
71+
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
76+
@media screen and (-ms-high-contrast: active) {
77+
.hljs-addition,
78+
.hljs-attribute,
79+
.hljs-built_in,
80+
.hljs-builtin-name,
81+
.hljs-bullet,
82+
.hljs-comment,
83+
.hljs-link,
84+
.hljs-literal,
85+
.hljs-meta,
86+
.hljs-number,
87+
.hljs-params,
88+
.hljs-string,
89+
.hljs-symbol,
90+
.hljs-type,
91+
.hljs-quote {
92+
color: highlight;
93+
}
94+
95+
.hljs-keyword,
96+
.hljs-selector-tag {
97+
font-weight: bold;
98+
}
99+
}

css/highlight/a11y-light.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/* a11y-light theme */
2+
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
3+
/* @author: ericwbailey */
4+
5+
/* Comment */
6+
.hljs-comment,
7+
.hljs-quote {
8+
color: #696969;
9+
}
10+
11+
/* Red */
12+
.hljs-variable,
13+
.hljs-template-variable,
14+
.hljs-tag,
15+
.hljs-name,
16+
.hljs-selector-id,
17+
.hljs-selector-class,
18+
.hljs-regexp,
19+
.hljs-deletion {
20+
color: #d91e18;
21+
}
22+
23+
/* Orange */
24+
.hljs-number,
25+
.hljs-built_in,
26+
.hljs-builtin-name,
27+
.hljs-literal,
28+
.hljs-type,
29+
.hljs-params,
30+
.hljs-meta,
31+
.hljs-link {
32+
color: #aa5d00;
33+
}
34+
35+
/* Yellow */
36+
.hljs-attribute {
37+
color: #aa5d00;
38+
}
39+
40+
/* Green */
41+
.hljs-string,
42+
.hljs-symbol,
43+
.hljs-bullet,
44+
.hljs-addition {
45+
color: #008000;
46+
}
47+
48+
/* Blue */
49+
.hljs-title,
50+
.hljs-section {
51+
color: #007faa;
52+
}
53+
54+
/* Purple */
55+
.hljs-keyword,
56+
.hljs-selector-tag {
57+
color: #7928a1;
58+
}
59+
60+
.hljs {
61+
display: block;
62+
overflow-x: auto;
63+
background: #fefefe;
64+
color: #545454;
65+
padding: 0.5em;
66+
}
67+
68+
.hljs-emphasis {
69+
font-style: italic;
70+
}
71+
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
76+
@media screen and (-ms-high-contrast: active) {
77+
.hljs-addition,
78+
.hljs-attribute,
79+
.hljs-built_in,
80+
.hljs-builtin-name,
81+
.hljs-bullet,
82+
.hljs-comment,
83+
.hljs-link,
84+
.hljs-literal,
85+
.hljs-meta,
86+
.hljs-number,
87+
.hljs-params,
88+
.hljs-string,
89+
.hljs-symbol,
90+
.hljs-type,
91+
.hljs-quote {
92+
color: highlight;
93+
}
94+
95+
.hljs-keyword,
96+
.hljs-selector-tag {
97+
font-weight: bold;
98+
}
99+
}

css/highlight/agate.css

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*!
2+
* Agate by Taufik Nurrohman <https://github.com/taufik-nurrohman>
3+
* ---------------------------------------------------------------
4+
*
5+
* #ade5fc
6+
* #a2fca2
7+
* #c6b4f0
8+
* #d36363
9+
* #fcc28c
10+
* #fc9b9b
11+
* #ffa
12+
* #fff
13+
* #333
14+
* #62c8f3
15+
* #888
16+
*
17+
*/
18+
19+
.hljs {
20+
display: block;
21+
overflow-x: auto;
22+
padding: 0.5em;
23+
background: #333;
24+
color: white;
25+
}
26+
27+
.hljs-name,
28+
.hljs-strong {
29+
font-weight: bold;
30+
}
31+
32+
.hljs-code,
33+
.hljs-emphasis {
34+
font-style: italic;
35+
}
36+
37+
.hljs-tag {
38+
color: #62c8f3;
39+
}
40+
41+
.hljs-variable,
42+
.hljs-template-variable,
43+
.hljs-selector-id,
44+
.hljs-selector-class {
45+
color: #ade5fc;
46+
}
47+
48+
.hljs-string,
49+
.hljs-bullet {
50+
color: #a2fca2;
51+
}
52+
53+
.hljs-type,
54+
.hljs-title,
55+
.hljs-section,
56+
.hljs-attribute,
57+
.hljs-quote,
58+
.hljs-built_in,
59+
.hljs-builtin-name {
60+
color: #ffa;
61+
}
62+
63+
.hljs-number,
64+
.hljs-symbol,
65+
.hljs-bullet {
66+
color: #d36363;
67+
}
68+
69+
.hljs-keyword,
70+
.hljs-selector-tag,
71+
.hljs-literal {
72+
color: #fcc28c;
73+
}
74+
75+
.hljs-comment,
76+
.hljs-deletion,
77+
.hljs-code {
78+
color: #888;
79+
}
80+
81+
.hljs-regexp,
82+
.hljs-link {
83+
color: #c6b4f0;
84+
}
85+
86+
.hljs-meta {
87+
color: #fc9b9b;
88+
}
89+
90+
.hljs-deletion {
91+
background-color: #fc9b9b;
92+
color: #333;
93+
}
94+
95+
.hljs-addition {
96+
background-color: #a2fca2;
97+
color: #333;
98+
}
99+
100+
.hljs a {
101+
color: inherit;
102+
}
103+
104+
.hljs a:focus,
105+
.hljs a:hover {
106+
color: inherit;
107+
text-decoration: underline;
108+
}

0 commit comments

Comments
 (0)