mirror of
https://github.com/denismhz/flake.git
synced 2025-11-10 08:41:05 +01:00
website: init
This commit is contained in:
parent
6c92283ac4
commit
e4a36949de
|
|
@ -33,6 +33,7 @@
|
||||||
./modules/aipython3
|
./modules/aipython3
|
||||||
./projects/invokeai
|
./projects/invokeai
|
||||||
./projects/koboldai
|
./projects/koboldai
|
||||||
|
./website
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
7
website/default.nix
Normal file
7
website/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
perSystem = { pkgs, ... }: {
|
||||||
|
packages = {
|
||||||
|
website = pkgs.callPackage ./package.nix { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
30
website/package.nix
Normal file
30
website/package.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib, pandoc, stdenvNoCC }:
|
||||||
|
|
||||||
|
lib.fix (self: stdenvNoCC.mkDerivation {
|
||||||
|
pname = "nixified-ai-website";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = ./src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pandoc
|
||||||
|
];
|
||||||
|
|
||||||
|
buildCommand = ''
|
||||||
|
unpackPhase
|
||||||
|
cd $sourceRoot
|
||||||
|
|
||||||
|
pandoc \
|
||||||
|
--css=./styles.css \
|
||||||
|
-H header.html \
|
||||||
|
-V pagetitle='Nixified AI' \
|
||||||
|
-s index.md \
|
||||||
|
-o index.html
|
||||||
|
|
||||||
|
webroot=$out/share/www/nixified.ai
|
||||||
|
mkdir -p $webroot
|
||||||
|
cp -v index.html *.css *.png $webroot
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.webroot = "${self}/share/www/nixified.ai";
|
||||||
|
})
|
||||||
1
website/src/header.html
Normal file
1
website/src/header.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<link rel="icon" type="image/png" href="./nixified-ai-icon.png">
|
||||||
50
website/src/index.md
Normal file
50
website/src/index.md
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<br/>
|
||||||
|
<a href="https://nixified.ai">
|
||||||
|
<img src="https://raw.githubusercontent.com/nixified-ai/flake/images/nixified.ai-text.png" width=60% height=60% title="nixified.ai"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Making AI reproducible and easy to run
|
||||||
|
|
||||||
|
The goal of nixified.ai is to simplify and make available a large repository of
|
||||||
|
AI executable code that would otherwise be impractical to run yourself, due to
|
||||||
|
package management and complexity issues.
|
||||||
|
|
||||||
|
- Self-contained
|
||||||
|
- Easy to run
|
||||||
|
- Support for NVIDIA and AMD GPUs
|
||||||
|
- Works with Windows Subsystem for Linux
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# KoboldAI
|
||||||
|
|
||||||
|
- [Official website](https://github.com/KoboldAI/KoboldAI-Client)
|
||||||
|
|
||||||
|
A browser-based front-end for AI-assisted writing with multiple local & remote AI models.
|
||||||
|
|
||||||
|
#### Get started
|
||||||
|
|
||||||
|
- `nix run github:nixified-ai/flake#koboldai-amd`
|
||||||
|
- `nix run github:nixified-ai/flake#koboldai-nvidia`
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# InvokeAI (A Stable Diffusion WebUI)
|
||||||
|
|
||||||
|
- [Official website](https://invoke-ai.github.io/InvokeAI/)
|
||||||
|
|
||||||
|
InvokeAI is an implementation of Stable Diffusion, the open source text-to-image and image-to-image generator. It provides a streamlined process with various new features and options to aid the image generation process.
|
||||||
|
|
||||||
|
#### Get started
|
||||||
|
|
||||||
|
- `nix run github:nixified-ai/flake#invokeai-amd`
|
||||||
|
- `nix run github:nixified-ai/flake#invokeai-nvidia`
|
||||||
|
|
||||||
|

|
||||||
BIN
website/src/nixified-ai-icon.png
Normal file
BIN
website/src/nixified-ai-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
36
website/src/styles.css
Normal file
36
website/src/styles.css
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
* {
|
||||||
|
color: #eeeeee;
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: radial-gradient(circle, #4362a0 0%, #000000 100%);
|
||||||
|
margin-left: 20%;
|
||||||
|
margin-right: 20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
li code {
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: 1.2em;
|
||||||
|
background-color: #111111;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
padding: 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border-color: #7ebae4;
|
||||||
|
color: #7ebae4;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue