fix: Rename freeflowuniverse to incubaid

This commit is contained in:
Mahmoud-Emad
2025-10-12 12:30:19 +03:00
parent 801c4abb43
commit 8f2d187b17
1593 changed files with 8753 additions and 8300 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env -S v -n -w -cg -d use_openssl -enable-globals run
import freeflowuniverse.herolib.installers.infra.coredns as coredns_installer
import freeflowuniverse.herolib.osal.coredns
import freeflowuniverse.herolib.core.playbook
import incubaid.herolib.installers.infra.coredns as coredns_installer
import incubaid.herolib.osal.coredns
import incubaid.herolib.core.playbook
// coredns_installer.delete()!
mut installer := coredns_installer.get()!

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal { download }
import incubaid.herolib.osal { download }
mut p := download(
url: 'https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.3/@name'

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -cg -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.notifier
import incubaid.herolib.osal.notifier
import os
import time

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal { ping }
import incubaid.herolib.osal { ping }
assert ping(address: '338.8.8.8')! == .unknownhost
assert ping(address: '8.8.8.8')! == .ok

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.builder
import incubaid.herolib.builder
// name string @[required]
// address string @[required]

View File

@@ -1,6 +1,6 @@
module main
import freeflowuniverse.herolib.osal
import incubaid.herolib.osal
fn do() ? {
if osal.is_osx() {

View File

@@ -1,6 +1,6 @@
module main
import freeflowuniverse.herolib.osal
import incubaid.herolib.osal
fn do() ? {
mut pm := process.processmap_get()?

View File

@@ -1,7 +1,7 @@
module main
import freeflowuniverse.herolib.osal
import freeflowuniverse.herolib.builder
import incubaid.herolib.osal
import incubaid.herolib.builder
import os
const myexamplepath = os.dir(@FILE) + '/../..'

View File

@@ -1,6 +1,6 @@
module main
import freeflowuniverse.herolib.osal.sandbox
import incubaid.herolib.osal.sandbox
import os
fn do() ! {

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env -S v -n -w -cg -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.sshagent
import freeflowuniverse.herolib.builder
import freeflowuniverse.herolib.ui.console
import incubaid.herolib.osal.sshagent
import incubaid.herolib.builder
import incubaid.herolib.ui.console
console.print_header('SSH Agent Management Example')

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.sshagent
import freeflowuniverse.herolib.osal.linux
import freeflowuniverse.herolib.ui.console
import incubaid.herolib.osal.sshagent
import incubaid.herolib.osal.linux
import incubaid.herolib.ui.console
fn demo_sshagent_basic() ! {
console.print_header('SSH Agent Basic Demo')

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.sshagent
import freeflowuniverse.herolib.ui.console
import incubaid.herolib.osal.sshagent
import incubaid.herolib.ui.console
console.print_header('SSH Agent Management Example')

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.installers.infra.zinit as zinitinstaller
import freeflowuniverse.herolib.sysadmin.startupmanager
import incubaid.herolib.installers.infra.zinit as zinitinstaller
import incubaid.herolib.sysadmin.startupmanager
mut z := zinitinstaller.get()!
z.destroy()!

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.systemd
import incubaid.herolib.osal.systemd
mut systemdfactory := systemd.new()!
// mut systemdprocess := systemdfactory.new(

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import freeflowuniverse.herolib.osal.core as osal
import incubaid.herolib.osal.tmux
import incubaid.herolib.osal.core as osal
import time
import os

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import freeflowuniverse.herolib.osal.core as osal
import incubaid.herolib.osal.tmux
import incubaid.herolib.osal.core as osal
import time
// Constants for display formatting

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import incubaid.herolib.osal.tmux
mut t := tmux.new()!
if !t.is_running()! {

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import incubaid.herolib.osal.tmux
import time
println('=== Tmux Pane Resizing Example ===')

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import incubaid.herolib.osal.tmux
import time
println('=== Tmux Pane Splitting Example ===')

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tmux
import freeflowuniverse.herolib.osal.core as osal
import incubaid.herolib.osal.tmux
import incubaid.herolib.osal.core as osal
import time
mut t := tmux.new()!

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.tun
import incubaid.herolib.osal.tun
// Check if TUN is available
if available := tun.available() {

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -cg -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.ubuntu
import incubaid.herolib.osal.ubuntu
import os
import time

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.ufw
import incubaid.herolib.osal.ufw
ufw.enable()!
println(ufw.ufw_status()!)

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.ufw
import freeflowuniverse.herolib.core.playbook
import incubaid.herolib.osal.ufw
import incubaid.herolib.core.playbook
heroscript := "
!!ufw.configure

View File

@@ -2,7 +2,7 @@ module main
import os
import time
import freeflowuniverse.herolib.osal.zinit
import incubaid.herolib.osal.zinit
fn main() {
do() or { panic(err) }

View File

@@ -2,7 +2,7 @@
import os
import time
import freeflowuniverse.herolib.osal.zinit
import incubaid.herolib.osal.zinit
zinit.destroy()!
mut z := zinit.new()!

View File

@@ -1,6 +1,6 @@
module main
import freeflowuniverse.herolib.osal.zinit
import incubaid.herolib.osal.zinit
import json
fn main() {