Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
filecxx committed Mar 13, 2022
1 parent 0c2f881 commit 9b88978
Show file tree
Hide file tree
Showing 13 changed files with 645 additions and 347 deletions.
Binary file added images/tools/screenshot_add_json_task.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tools/screenshot_create_address.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
</head>
<body>

<a href="en_US/index.html">English</a>
<a href="zh_CN/index.html">简体中文</a>
<a href="ru_RU/index.html">Русский</a>

<h1>File Centipede</h1>
<div>
<a href="en_US/index.html"><h2>English</h2></a>
<a href="zh_CN/index.html"><h2>简体中文</h2></a>
<a href="ru_RU/index.html"><h2>Русский</h2></a>
</div>

</body>
</html>
2 changes: 1 addition & 1 deletion lang/zh_CN.lang
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
download_tips_=TODO:
feature_24=翻译工具
title_index_=文件蜈蚣
index_meta_keywords_=文件蜈蚣, IDM, BT种子客户端, 下载种子, 网页中下载视频, 最快的下载加速器, 最好的下载工具, linux下载工具, 免费下载工具, transmission, libtorrent, 迅雷替代工具, 无广告下载工具
index_meta_keywords_=文件蜈蚣, IDM, BT种子客户端, 下载种子, 网页中下载视频, 视频嗅探工具, 最快的下载加速器, 最好的下载工具, linux下载工具, 免费下载工具, transmission, libtorrent, 文件蜈蚣下载, 无广告下载工具
feature_16=代理管理
download_link=下载链接
feature_14=限制下载,上传速度
Expand Down
Binary file modified release/filecxx_1.0_linux_x64.zip
Binary file not shown.
Binary file modified release/filecxx_1.0_win_x64.zip
Binary file not shown.
47 changes: 46 additions & 1 deletion script/create_filec_address.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,49 @@
function create_filec_address(options)
function create_fileu_address(options)
{
var base64_reference = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
var base64_encode = function(data)
{
if(typeof data != "string"){
return null;
}
var i = 0;
var ac = 0;
var temp = [];
var o1,o2,o3,h1,h2,h3,h4,bits;

do{
o1 = data.charCodeAt(i++);
o2 = data.charCodeAt(i++);
o3 = data.charCodeAt(i++);

bits = o1 << 16 | o2 << 8 | o3;

h1 = bits >> 18 & 0x3f;
h2 = bits >> 12 & 0x3f;
h3 = bits >> 6 & 0x3f;
h4 = bits & 0x3f;

temp[ac++] = base64_reference.charAt(h1) + base64_reference.charAt(h2) + base64_reference.charAt(h3) + base64_reference.charAt(h4);
}while(i < data.length);

var r = data.length % 3;
var enc = temp.join('');

return (r ? enc.slice(0,r-3) : enc) + '==='.slice(r || 3);
};
var obj = {"@":"task_add"};

if(typeof(options) == "string"){
options = {uri:options};
}
if(typeof(options) != "object"){
return null;
}
for(var name in options) {
obj[name] = options[name];
}
if(typeof(obj.file_name) == "string"){
obj.file_name = encodeURIComponent(decodeURIComponent(obj.file_name));
}
return "fileu:0" + base64_encode(JSON.stringify(obj));
}
1 change: 1 addition & 0 deletions script/highlight.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ a
color: #2a8dcb;
}

pre
{

}
code
{
background: #272822;
display: block;
font-family: "Source Code Pro","Courier New","Helvetica Neue","monospace",HelveticaNeue,Helvetica,Arial,serif;
overflow-x: auto;
padding: 0.5em;
white-space: pre;
word-wrap: break-word;
font-size: 13px;
}

/************************/
.central
{
Expand Down
126 changes: 126 additions & 0 deletions style/highlight.monokai.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/*
Monokai style - ported by Luigi Maselli - http://grigio.org
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #313131;
-webkit-text-size-adjust: none;
}

.hljs-tag,
.hljs-tag .hljs-title,
.hljs-keyword,
.hljs-literal,
.hljs-strong,
.hljs-change,
.hljs-winutils,
.hljs-flow,
.nginx .hljs-title,
.tex .hljs-special {
color: #f92672;
}

.hljs {
color: #ddd;
}

.hljs .hljs-constant,
.asciidoc .hljs-code,
.markdown .hljs-code {
color: #66d9ef;
}

.hljs-code,
.hljs-class .hljs-title,
.hljs-header {
color: white;
}

.hljs-link_label,
.hljs-attribute,
.hljs-symbol,
.hljs-symbol .hljs-string,
.hljs-value,
.hljs-regexp {
color: #bf79db;
}

.hljs-link_url,
.hljs-tag .hljs-value,
.hljs-string,
.hljs-bullet,
.hljs-subst,
.hljs-title,
.hljs-emphasis,
.hljs-type,
.hljs-preprocessor,
.hljs-pragma,
.ruby .hljs-class .hljs-parent,
.hljs-built_in,
.django .hljs-template_tag,
.django .hljs-variable,
.smalltalk .hljs-class,
.django .hljs-filter .hljs-argument,
.smalltalk .hljs-localvars,
.smalltalk .hljs-array,
.hljs-attr_selector,
.hljs-pseudo,
.hljs-addition,
.hljs-stream,
.hljs-envvar,
.apache .hljs-tag,
.apache .hljs-cbracket,
.tex .hljs-command,
.hljs-prompt,
.hljs-name {
color: #a6e22e;
}

.hljs-comment,
.hljs-annotation,
.smartquote,
.hljs-blockquote,
.hljs-horizontal_rule,
.hljs-decorator,
.hljs-pi,
.hljs-doctype,
.hljs-deletion,
.hljs-shebang,
.apache .hljs-sqbracket,
.tex .hljs-formula {
color: #75715e;
}

.hljs-keyword,
.hljs-literal,
.css .hljs-id,
.hljs-doctag,
.hljs-title,
.hljs-header,
.hljs-type,
.vbscript .hljs-built_in,
.rsl .hljs-built_in,
.smalltalk .hljs-class,
.diff .hljs-header,
.hljs-chunk,
.hljs-winutils,
.bash .hljs-variable,
.apache .hljs-tag,
.tex .hljs-special,
.hljs-request,
.hljs-status {
font-weight: bold;
}

.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
opacity: 0.5;
}
Loading

0 comments on commit 9b88978

Please sign in to comment.