mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2025-05-28 11:55:12 +00:00
Remove unused files, will move src as well
This commit is contained in:
parent
b0214d524c
commit
5ee27ea000
9 changed files with 1 additions and 3793 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1 +0,0 @@
|
||||||
Cargo.nix linguist-language=GeneratedFileInvalidLanguageName
|
|
|
@ -1,19 +0,0 @@
|
||||||
condense_wildcard_suffixes = true
|
|
||||||
enum_discrim_align_threshold = 25
|
|
||||||
force_explicit_abi = false
|
|
||||||
force_multiline_blocks = true
|
|
||||||
format_code_in_doc_comments = true
|
|
||||||
format_macro_matchers = true
|
|
||||||
format_strings = true
|
|
||||||
group_imports = "StdExternalCrate"
|
|
||||||
hex_literal_case = "Upper"
|
|
||||||
imports_granularity = "Crate"
|
|
||||||
imports_layout = "Vertical"
|
|
||||||
match_block_trailing_comma = true
|
|
||||||
newline_style = "Unix"
|
|
||||||
normalize_comments = true
|
|
||||||
normalize_doc_attributes = true
|
|
||||||
reorder_impl_items = true
|
|
||||||
unstable_features = true
|
|
||||||
use_try_shorthand = true
|
|
||||||
wrap_comments = true
|
|
1314
Cargo.lock
generated
1314
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
26
Cargo.toml
26
Cargo.toml
|
@ -1,26 +0,0 @@
|
||||||
[package]
|
|
||||||
name = "site"
|
|
||||||
description = "The official website and link portal of RGBCube and his work."
|
|
||||||
authors = [ "RGBCube" ]
|
|
||||||
license = "GPL"
|
|
||||||
version = "0.1.0"
|
|
||||||
homepage = "https://rgbcube.github.io"
|
|
||||||
repositoty = "https://github.com/RGBCube/rgbcube.github.io"
|
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
axum = "0.7.2"
|
|
||||||
bytes = "1.5.0"
|
|
||||||
cargo_toml = "0.17.2"
|
|
||||||
dashmap = "5.5.3"
|
|
||||||
embed = { git = "https://github.com/RGBCube/embed-rs" }
|
|
||||||
env_logger = "0.10.1"
|
|
||||||
log = "0.4.20"
|
|
||||||
maud = { git = "https://github.com/vidhanio/maud", branch = "patch-1" }
|
|
||||||
mime_guess = "2.0.4"
|
|
||||||
minify-js = "0.5.6"
|
|
||||||
tar = "0.4.40"
|
|
||||||
tokio = { version = "1.35.1", features = [ "full" ] }
|
|
||||||
|
|
||||||
[build]
|
|
||||||
incremental = true
|
|
27
README.md
27
README.md
|
@ -1,26 +1 @@
|
||||||
# RGBCube's Homepage
|
# Moved to https://github.com/RGBCube/Site
|
||||||
|
|
||||||
## Running
|
|
||||||
|
|
||||||
Simply run `sudo nix run`, nothing else.
|
|
||||||
|
|
||||||
The server will be ran on `0.0.0.0:80`.
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
```
|
|
||||||
Copyright (C) RGBCube 2023-present
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
```
|
|
||||||
|
|
128
flake.lock
generated
128
flake.lock
generated
|
@ -1,128 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"cargo2nix": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"flake-utils": [
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1699033427,
|
|
||||||
"narHash": "sha256-OVtd5IPbb4NvHibN+QvMrMxq7aZN5GFoINZSAXKjUdA=",
|
|
||||||
"owner": "cargo2nix",
|
|
||||||
"repo": "cargo2nix",
|
|
||||||
"rev": "c6f33051f412352f293e738cc8da6fd4c457080f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cargo2nix",
|
|
||||||
"repo": "cargo2nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-compat": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1701680307,
|
|
||||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1703255338,
|
|
||||||
"narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "6df37dc6a77654682fe9f071c62b4242b5342e04",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"cargo2nix": "cargo2nix",
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": [
|
|
||||||
"cargo2nix",
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"cargo2nix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1697336027,
|
|
||||||
"narHash": "sha256-ctmmw7j4liyfSh63v9rdFZeIoNYCkCvgqvtEOB7KhX8=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "e494404d36a41247987eeb1bfc2f1ca903e97764",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
45
flake.nix
45
flake.nix
|
@ -1,45 +0,0 @@
|
||||||
{
|
|
||||||
description = "RGBCube's homepage.";
|
|
||||||
|
|
||||||
nixConfig = {
|
|
||||||
extra-substituters = "https://cache.garnix.io/";
|
|
||||||
extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
|
|
||||||
};
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs = {
|
|
||||||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
flake-utils = {
|
|
||||||
url = "github:numtide/flake-utils";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargo2nix = {
|
|
||||||
url = "github:cargo2nix/cargo2nix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { nixpkgs, flake-utils, cargo2nix, ... } @ inputs: flake-utils.lib.eachDefaultSystem (system: let
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
overlays = [ cargo2nix.overlays.default ];
|
|
||||||
};
|
|
||||||
|
|
||||||
rustPackages = pkgs.rustBuilder.makePackageSet {
|
|
||||||
rustVersion = "1.76.0";
|
|
||||||
rustChannel = "nightly";
|
|
||||||
rustProfile = "minimal";
|
|
||||||
packageFun = import ./Cargo.nix;
|
|
||||||
};
|
|
||||||
in rec {
|
|
||||||
devShells.default = rustPackages.workspaceShell {
|
|
||||||
packages = [ cargo2nix.packages.${system}.default ];
|
|
||||||
};
|
|
||||||
|
|
||||||
packages.site = rustPackages.workspace.site {};
|
|
||||||
packages.default = packages.site;
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -9,4 +9,3 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue