Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamisato Art committed Nov 2, 2021
0 parents commit daafb86
Show file tree
Hide file tree
Showing 27 changed files with 2,705 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}
15 changes: 15 additions & 0 deletions .github/workflows/gh_page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: push
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: build_and_deploy
uses: shalzz/[email protected]
env:
# Target branch
PAGES_BRANCH: gh-pages
# Provide personal access token
TOKEN: ${{ secrets.TOKEN }}
132 changes: 132 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
# out

# Nuxt.js build / generate output
.nuxt
# dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
# .vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache
.stylelintcache

### Sass ###
.sass-cache/
// *.css.map
// *.sass.map
// *.scss.map
Empty file added .nojekyll
Empty file.
20 changes: 20 additions & 0 deletions Installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Installation

## Pre-build Package

### Arch Linux
* [Arch Linux Github Action](https://github.com/ArkToria/ACross/actions/workflows/arch-build.yaml)

## Build From Source

### Linux

#### Arch Linux

* [PKGBUILD](https://github.com/ArkToria/ACross/blob/master/pkgbuild/arch/across-dev-git/PKGBUILD)

### Windows

#### vcpkg

#### msys2 + mingw
1 change: 1 addition & 0 deletions Introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Introduction
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ACross
11 changes: 11 additions & 0 deletions _coverpage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
![logo](/_media/logo.svg)

# ACross Documentation & Wiki <small>0.1.0</small>

> A simple and mordern client for v2ray
- Qt & QML Multi-platform Development
- Shadowsocks / VMESS / Trojan

[GitHub](https://github.com/ArkToria/ACross)
[Get Started](/Introduction)
21 changes: 21 additions & 0 deletions _media/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions _media/logo_pure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions _navbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* [En](/)
* [中文](/zh_cn/)
2 changes: 2 additions & 0 deletions _sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* [Introduction](/README.md)
* [Installation](/Installation.md)
42 changes: 42 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
/>
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
/>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: "ACross",
repo: "https://github.com/ArkToria/ACross",
loadSidebar: true,
alias: {
"/*/_sidebar.md": "/_sidebar.md",
},
loadNavbar: true,
subMaxLevel: 4,
logo: "/_media/logo.svg",
coverpage: {
"/": "_coverpage.md",
"/zh_cn/": "_coverpage.md",
},
};
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script type="module" src="/index.js">
</script>
</body>
</html>
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { request } from 'https://cdn.skypack.dev/@octokit/request';
async function getActions(actionName) {
const content = await request('GET /repos/{owner}/{repo}/actions/artifacts', {
owner: 'Arktoria',
repo: 'ACross'
});
console.log(content.data.artifacts[0].name);
}
getActions('');
12 changes: 12 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { request } from 'https://cdn.skypack.dev/@octokit/request'

async function getActions (actionName: string) {
const content = await request('GET /repos/{owner}/{repo}/actions/artifacts', {
owner: 'Arktoria',
repo: 'ACross'
})

console.log(content.data.artifacts[0].name)
}

getActions('')
8 changes: 8 additions & 0 deletions main.css

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

9 changes: 9 additions & 0 deletions main.css.map

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

10 changes: 10 additions & 0 deletions main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.cover-main {
img {
max-width: 15vw;
}
}
.app-name-link {
img {
max-width: 40%;
}
}
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"dependencies": {
"@octokit/request": "^5.6.2",
"typescript": "^4.4.4"
},
"devDependencies": {
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1"
},
"name": "arktoria.github.io",
"version": "0.1.0",
"main": "index.js",
"repository": "[email protected]:ArkToria/arktoria.github.io.git",
"author": "cocomeow <[email protected]>",
"license": "MIT",
"private": true
}
3 changes: 3 additions & 0 deletions request.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module 'https://cdn.skypack.dev/@octokit/request' {
export const request: import('@octokit/types').RequestInterface<object>
}
Loading

0 comments on commit daafb86

Please sign in to comment.