Add services command
This commit is contained in:
parent
fd98a9837c
commit
595cf65085
2 changed files with 60 additions and 2 deletions
57
index.html
57
index.html
|
|
@ -15,16 +15,69 @@
|
|||
▌ █▌▛▘█▌▛▘▄▖▚ █▌█▌▛▘▄▖▌▌▐ ▐
|
||||
▙▖▙▖▌ ▙▖▄▌ ▄▌▙▖▙▖▄▌ ▛▌▐▖▐▖
|
||||
I'm watching you...]
|
||||
Type 'help' to get started
|
||||
Run 'help' to get started
|
||||
</template>
|
||||
<script>
|
||||
$('body').terminal({
|
||||
|
||||
help: function() {
|
||||
this.echo('Some commands to get you started:\n • about: show about info\n\n...Thats it for now, sorgy');
|
||||
this.echo("Some commands to get you started:\n • about: show about info\n • services: links to all the services i host, run 'services help' to get a full list\n\n...Thats it for now, sorgy");
|
||||
},
|
||||
about: function() {
|
||||
this.echo("Hi! I'm Ceres o/\n \nI'm a uni student studying astrophyics, and have a large interest in anything linux related\nI help moderate the linuxposting community across its many locations, including hosting our tilde and a few other services, and I'm a (occasionally active) contributer to the gentoo and guru package repositories\n\n\n\n(P.S.) [[;#f5c2e7;]I really am watching you :3]");
|
||||
},
|
||||
services: function(arg) {
|
||||
if (arg === 'Audiobookshelf' || arg === 'audiobookshelf') {
|
||||
open('https://audio.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Cinny' || arg === 'cinny') {
|
||||
open('https://cinny.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Element' || arg === 'element') {
|
||||
open('https://element.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Forgejo' || arg === 'forgejo') {
|
||||
open('https://git.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Immich' || arg === 'immich') {
|
||||
open('https://audio.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Jellyfin' || arg === 'jellyfin') {
|
||||
open('https://movies.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Komodo' || arg === 'komodo') {
|
||||
open('https://server.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Lidarr' || arg === 'lidarr') {
|
||||
open('https://lidarr.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Navidrome' || arg === 'navidrome') {
|
||||
open('https://music.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Outline' || arg === 'outline') {
|
||||
open('https://info.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Paperless' || arg === 'paperless') {
|
||||
open('https://docs.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Piped' || arg === 'piped') {
|
||||
open('https://yt.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Radarr' || arg === 'radarr') {
|
||||
open('https://radarr.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Searxng' || arg === 'searxng') {
|
||||
open('https://search.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Soulseek' || arg === 'soulseek') {
|
||||
open('https://slsk.ceressees.dev', '_self')
|
||||
}
|
||||
else if (arg === 'Sonarr' || arg === 'sonarr') {
|
||||
open('https://sonarr.ceressees.dev', '_self')
|
||||
}
|
||||
else {
|
||||
this.echo("List of services I host. Services marked with a * are public, so you can use them too!\nRun 'services <service>' to launch the specified option!\n\n•Audiobookshelf\n*Cinny\n*Element\n*Forgejo\n•Immich\n•Jellyfin\n•Komodo\n•Lidarr\n•Navidrome\n•Outline\n•Paperless\n*Piped\n•Radarr\n*Searxng\n•Soulseek\n•Sonarr")
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,6 +44,11 @@ html {
|
|||
hyphens: manual;
|
||||
}
|
||||
|
||||
.cmd-cursor {
|
||||
color: #1e1e2e;
|
||||
background-color: #f5c2e7;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "mono";
|
||||
src: url(assets/DepartureMono-Regular.otf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue