mirror of
https://github.com/avitex/avitex.github.io
synced 2025-01-15 20:39:57 +00:00
Compare commits
6 Commits
6dd3ec76e9
...
94b119c217
Author | SHA1 | Date | |
---|---|---|---|
|
94b119c217 | ||
|
87ee1311c6 | ||
|
6ee12508b3 | ||
|
0276c114b1 | ||
|
31431644d2 | ||
|
0a2ffbf403 |
17
.github/workflows/build.yml
vendored
Normal file
17
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- source
|
||||||
|
jobs:
|
||||||
|
build_and_deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Build and deploy
|
||||||
|
uses: shalzz/zola-deploy-action@v0.12.0
|
||||||
|
env:
|
||||||
|
PAGES_BRANCH: master
|
||||||
|
BUILD_DIR: .
|
||||||
|
TOKEN: ${{ secrets.TOKEN }}
|
18
.travis.yml
18
.travis.yml
@ -1,18 +0,0 @@
|
|||||||
dist: bionic
|
|
||||||
language: minimal
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
# Download and unzip the zola executable
|
|
||||||
- curl -s -L https://github.com/getzola/zola/releases/download/v0.10.1/zola-v0.10.1-x86_64-unknown-linux-gnu.tar.gz | sudo tar xvzf - -C /usr/local/bin
|
|
||||||
|
|
||||||
script:
|
|
||||||
- zola check && zola build
|
|
||||||
|
|
||||||
after_success: |
|
|
||||||
[ $TRAVIS_BRANCH = source ] &&
|
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
||||||
zola check &&
|
|
||||||
zola build &&
|
|
||||||
sudo pip install ghp-import &&
|
|
||||||
ghp-import -m "build ${TRAVIS_COMMIT}" -c 1bit.pw -n public -b master &&
|
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git master
|
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018-2020 James Dyson
|
Copyright (c) 2018-2021 James Dyson
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
29
config.toml
29
config.toml
@ -3,20 +3,20 @@ base_url = "https://1bit.pw"
|
|||||||
description = "Home of avitex"
|
description = "Home of avitex"
|
||||||
|
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
highlight_code = true
|
|
||||||
highlight_theme = "1337"
|
|
||||||
build_search_index = true
|
build_search_index = true
|
||||||
generate_rss = true
|
generate_rss = true
|
||||||
|
|
||||||
taxonomies = [
|
taxonomies = [{ name = "blog/tags", rss = true }]
|
||||||
{name = "blog/tags", rss = true},
|
|
||||||
]
|
[markdown]
|
||||||
|
highlight_code = true
|
||||||
|
highlight_theme = "1337"
|
||||||
|
|
||||||
[link_checker]
|
[link_checker]
|
||||||
skip_prefixes = [
|
skip_prefixes = [
|
||||||
"https://play.esea.net",
|
"https://play.esea.net",
|
||||||
"https://letsplay.live",
|
"https://letsplay.live",
|
||||||
"https://twitter.com"
|
"https://twitter.com",
|
||||||
]
|
]
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
@ -25,25 +25,22 @@ author = "avitex"
|
|||||||
[[extra.main_menu]]
|
[[extra.main_menu]]
|
||||||
name = "Blog"
|
name = "Blog"
|
||||||
url = "/blog"
|
url = "/blog"
|
||||||
sub = [
|
sub = [{ name = "Latest", url = "/blog" }, { name = "Tags", url = "/blog-tags" }]
|
||||||
{name = "Latest", url = "/blog"},
|
|
||||||
{name = "Tags", url = "/blog/tags"}
|
|
||||||
]
|
|
||||||
|
|
||||||
[[extra.main_menu]]
|
[[extra.main_menu]]
|
||||||
name = "Projects"
|
name = "Projects"
|
||||||
url = "/projects"
|
url = "/projects"
|
||||||
sub = [
|
sub = [
|
||||||
{name = "Rust", url = "#rust"},
|
{ name = "Rust", url = "#rust" },
|
||||||
{name = "Elixir", url = "#elixir"},
|
{ name = "Elixir", url = "#elixir" },
|
||||||
{name = "Github", url = "https://github.com/avitex"}
|
{ name = "Github", url = "https://github.com/avitex" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[extra.main_menu]]
|
[[extra.main_menu]]
|
||||||
name = "About"
|
name = "About"
|
||||||
url = "/about"
|
url = "/about"
|
||||||
sub = [
|
sub = [
|
||||||
{name = "Overview", url = "/about"},
|
{ name = "Overview", url = "/about" },
|
||||||
{name = "Bio", url = "/about/bio"},
|
{ name = "Bio", url = "/about/bio" },
|
||||||
{name = "Social", url = "/about/social"}
|
{ name = "Social", url = "/about/social" },
|
||||||
]
|
]
|
@ -1,4 +1,4 @@
|
|||||||
status = { experimental = "red", development = "orange", published = "green" }
|
status = { experimental = "red", development = "orange", hibernation = "inactive", maintained = "green" }
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Rust
|
# Rust
|
||||||
@ -6,80 +6,98 @@ status = { experimental = "red", development = "orange", published = "green" }
|
|||||||
[project.rust-badgen]
|
[project.rust-badgen]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "badgen"
|
crate = "badgen"
|
||||||
status = "published"
|
status = "hibernation"
|
||||||
github = "avitex/rust-badgen"
|
github = "avitex/rust-badgen"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-dangerous]
|
[project.rust-dangerous]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "dangerous"
|
crate = "dangerous"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-dangerous"
|
github = "avitex/rust-dangerous"
|
||||||
|
ci = true
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-zc]
|
[project.rust-zc]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "zc"
|
crate = "zc"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-zc"
|
github = "avitex/rust-zc"
|
||||||
|
ci = true
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-aliasable]
|
[project.rust-aliasable]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "aliasable"
|
crate = "aliasable"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-aliasable"
|
github = "avitex/rust-aliasable"
|
||||||
|
ci = true
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-arae]
|
[project.rust-arae]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "arae"
|
crate = "arae"
|
||||||
status = "experimental"
|
status = "experimental"
|
||||||
github = "avitex/rust-arae"
|
github = "avitex/rust-arae"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-dnscat]
|
[project.rust-dnscat]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "dnscat"
|
crate = "dnscat"
|
||||||
status = "published"
|
status = "development"
|
||||||
github = "avitex/rust-dnscat"
|
github = "avitex/rust-dnscat"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-public-ip]
|
[project.rust-public-ip]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "public-ip"
|
crate = "public-ip"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-public-ip"
|
github = "avitex/rust-public-ip"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.mdbook-tera]
|
[project.mdbook-tera]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "mdbook-tera"
|
crate = "mdbook-tera"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/mdbook-tera"
|
github = "avitex/mdbook-tera"
|
||||||
|
ci = false
|
||||||
[project.rust-xlff]
|
published = true
|
||||||
lang = "rust"
|
|
||||||
crate = "xlff"
|
|
||||||
status = "development"
|
|
||||||
github = "avitex/rust-xlff"
|
|
||||||
|
|
||||||
[project.rust-abuseipdb]
|
[project.rust-abuseipdb]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "abuseipdb"
|
crate = "abuseipdb"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-abuseipdb"
|
github = "avitex/rust-abuseipdb"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-aliasable-deref-trait]
|
[project.rust-aliasable-deref-trait]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "aliasable_deref_trait"
|
crate = "aliasable_deref_trait"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/rust-aliasable-deref-trait"
|
github = "avitex/rust-aliasable-deref-trait"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.rust-feast]
|
[project.rust-feast]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "feast"
|
crate = "feast"
|
||||||
status = "experimental"
|
status = "experimental"
|
||||||
github = "avitex/rust-feast"
|
github = "avitex/rust-feast"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.battlelayer]
|
[project.battlelayer]
|
||||||
lang = "rust"
|
lang = "rust"
|
||||||
crate = "battlelayer"
|
crate = "battlelayer"
|
||||||
status = "development"
|
status = "hibernation"
|
||||||
github = "avitex/battlelayer"
|
github = "avitex/battlelayer"
|
||||||
|
ci = false
|
||||||
|
published = false
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Elixir
|
# Elixir
|
||||||
@ -87,29 +105,39 @@ github = "avitex/battlelayer"
|
|||||||
[project.elixir-glicko]
|
[project.elixir-glicko]
|
||||||
lang = "elixir"
|
lang = "elixir"
|
||||||
hex = "glicko"
|
hex = "glicko"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/elixir-glicko"
|
github = "avitex/elixir-glicko"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.elixir-rcon]
|
[project.elixir-rcon]
|
||||||
lang = "elixir"
|
lang = "elixir"
|
||||||
hex = "rcon"
|
hex = "rcon"
|
||||||
status = "published"
|
status = "maintained"
|
||||||
github = "avitex/elixir-rcon"
|
github = "avitex/elixir-rcon"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.elixir-vultr]
|
[project.elixir-vultr]
|
||||||
lang = "elixir"
|
lang = "elixir"
|
||||||
hex = "vultr"
|
hex = "vultr"
|
||||||
status = "published"
|
status = "hibernation"
|
||||||
github = "avitex/elixir-vultr"
|
github = "avitex/elixir-vultr"
|
||||||
|
ci = false
|
||||||
|
published = true
|
||||||
|
|
||||||
[project.elixir-gitlab]
|
[project.elixir-gitlab]
|
||||||
lang = "elixir"
|
lang = "elixir"
|
||||||
hex = "gitlab"
|
hex = "gitlab"
|
||||||
status = "development"
|
status = "hibernation"
|
||||||
github = "avitex/elixir-gitlab"
|
github = "avitex/elixir-gitlab"
|
||||||
|
ci = false
|
||||||
|
published = false
|
||||||
|
|
||||||
[project.typed-struct-cast]
|
[project.typed-struct-cast]
|
||||||
lang = "elixir"
|
lang = "elixir"
|
||||||
hex = "typed-struct-cast"
|
hex = "typed-struct-cast"
|
||||||
status = "development"
|
status = "hibernation"
|
||||||
github = "avitex/typed-struct-cast"
|
github = "avitex/typed-struct-cast"
|
||||||
|
ci = false
|
||||||
|
published = false
|
||||||
|
1
static/CNAME
Normal file
1
static/CNAME
Normal file
@ -0,0 +1 @@
|
|||||||
|
1bit.pw
|
@ -28,8 +28,8 @@
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% endmacro meta_desc %}
|
{% endmacro meta_desc %}
|
||||||
|
|
||||||
{% macro status_badge(status, desc, link, color) %}
|
{% macro status_badge(status, desc, link, color, label="status") %}
|
||||||
{{ self::badge(type="badge", scope="status-" ~ status ~ "-" ~ color, desc=desc, link=link) }}
|
{{ self::badge(type="badge", scope=label ~ "-" ~ status ~ "-" ~ color, desc=desc, link=link) }}
|
||||||
{% endmacro status_badge %}
|
{% endmacro status_badge %}
|
||||||
|
|
||||||
{% macro badge(type, scope, desc, link) %}
|
{% macro badge(type, scope, desc, link) %}
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
<th>Links</th>
|
<th>Links</th>
|
||||||
<th>Package</th>
|
<th>Package</th>
|
||||||
<th>Maintenance</th>
|
<th>Maintenance</th>
|
||||||
<th>Status</th>
|
<th>Issues</th>
|
||||||
|
<th>Pull Requests</th>
|
||||||
|
<th>Builds</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -17,19 +19,31 @@
|
|||||||
<td><code>{{ project_name }}</code></td>
|
<td><code>{{ project_name }}</code></td>
|
||||||
<td><a href="https://github.com/{{ project.github }}">github</a></td>
|
<td><a href="https://github.com/{{ project.github }}">github</a></td>
|
||||||
<td>
|
<td>
|
||||||
{% if project.crate %}
|
{% if project.crate and project.published %}
|
||||||
{{ macros::badge(type="crates/v", scope=project.crate, desc="Rust crate", link="https://crates.io/crates/" ~ project.crate) }}
|
{{ macros::badge(type="crates/v", scope=project.crate, desc="Rust crate", link="https://crates.io/crates/" ~ project.crate) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if project.hex %}
|
{% if project.hex and project.published %}
|
||||||
{{ macros::badge(type="hexpm/v", scope=project.hex, desc="Hex package", link="https://hex.pm/packages/" ~ project.hex) }}
|
{{ macros::badge(type="hexpm/v", scope=project.hex, desc="Hex package", link="https://hex.pm/packages/" ~ project.hex) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if not project.published %}
|
||||||
|
Not published
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ macros::status_badge(status=project.status, color=data.status[project.status], desc="Project status", link=false) }}
|
{{ macros::status_badge(status=project.status, color=data.status[project.status], desc="Project status", link=false) }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ macros::badge(type="github/issues", scope=project.github, desc="Github issues", link="https://github.com/" ~ project.github ~ "/issues") }}
|
{{ macros::badge(type="github/issues", scope=project.github, desc="Github issues", link="https://github.com/" ~ project.github ~ "/issues") }}
|
||||||
{{ macros::badge(type="travis/com", scope=project.github ~ "/master", desc="Build status", link="https://travis-ci.com/" ~ project.github) }}
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ macros::badge(type="github/issues-pr", scope=project.github, desc="Github PRs", link="https://github.com/" ~ project.github ~ "/pulls") }}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{% if project.ci %}
|
||||||
|
{{ macros::badge(type="github/workflow/status", scope=project.github ~ "/build", desc="Build status", link="https://github.com/" ~ project.github ~ "/actions?query=workflow:build") }}
|
||||||
|
{% else %}
|
||||||
|
{{ macros::status_badge(label="build", status="unknown", color="inactive", desc="Build status", link=false) }}
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user