Skip to content

Instantly share code, notes, and snippets.

@khoadng
Last active March 26, 2026 14:56
Show Gist options
  • Select an option

  • Save khoadng/3b881d56c4b935466b1f2663ed3aea64 to your computer and use it in GitHub Desktop.

Select an option

Save khoadng/3b881d56c4b935466b1f2663ed3aea64 to your computer and use it in GitHub Desktop.
TyphonOS neofetch
import 'package:typhon_api/typhon_api.dart';
void main(SysCall sys) {
final user = sys.env['USER'] ?? 'unknown';
final host = sys.hostname;
final home = sys.env['HOME'] ?? '/';
final pid = sys.pid;
final uid = sys.uid;
final title = '$user@$host';
sys.stdout.writeln('');
sys.stdout.writeln(' ╔╦╦╦╦╦╗');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ $title');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ ──────────────');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ OS: TyphonOS');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ Shell: typhon-sh');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ User: $user (uid $uid)');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ PID: $pid');
sys.stdout.writeln(' ╠╬╬╬╬╬╣ Home: $home');
sys.stdout.writeln(' ╚╩╩╩╩╩╝');
sys.stdout.writeln('');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment