tntnet(8)

πŸ“¦
version 3.0 Β· 2 versions
  • 3.0 Β· debian trixie, fedora 43, fedora 44, nixos 26.05, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.2.1 Β· ubuntu jammy
, in debian trixie, fedora 43, fedora 44, nixos 26.05, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– tntnet(8) β€” the Tntnet users guide, but make it make sense πŸ’–

okay bestie, sit down, hydrate, and let me tell you about tntnet β€” yes that's the manual name, section 8, she's a whole vibe ✨


🌸 NAME 🌸

tntnet β€” it's a web application server for c++, no cap 🫢


✨ SYNOPSIS ✨

tntnet [-c file] [--logall]

tntnet-C [-q query-string] componentId ...

that's the whole shape of her. two moods. pick one πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this page is the briefly version β€” it documents the tntnet command, the basics, the tea β˜•

and what is tntnet? it's a web server that can generate dynamic content via precompiled C++ modules. like. she serves pages but the pages are compiled c++ modules. main character energy fr fr πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

here's a summary of the options, all of them, not skipping a single one, because we don't do that here πŸ’–

  • -c file β€” use file as the configuration file. and if you leave -c out entirely? then the first nonoption argument gets used as the config file instead. sneaky but iconic.
  • --logall β€” initializes logging earlier than usual. normally logging gets initialized after starting the listeners and changing user, so that logfiles get created with the right owner. but for debugging reasons, this option forces that whole thing to happen earlier. it's giving "i need the logs NOW" 😭
  • -C β€” call components and print the result to stdout, instead of starting tntnet as a webserver. so instead of being a server she's just... a little component-caller. we love a range πŸ‘‘
  • -q query-string β€” in -C mode, pass this query string to the component. and the best part? you can repeat this option multiple times so passing name-value-pairs is easy peasy πŸ“

🌈 EXAMPLE 🌈

tntnet -C -q arg1=35 -q arg2=7 -q op=/ calc@calc

this calls the component calc@calc with query parameters and prints the result to stdout. look at her go πŸ’…βœ¨


🧚 FILES 🧚

  • /etc/tntnet/tntnet.xml β€” the default configuration file. that's the one. the default. πŸŽ€

πŸ’œ ENVIRONMENT πŸ’œ

  • TNTNET_CONF β€” this gets checked for the configuration file name if it's not specified on the command line. so if you forgot -c, she looks here. thoughtful queen 🫢

⭐ AUTHOR ⭐

tntnet was written by Tommi MΓ€kitalo ⟨tommi@tntnet.org⟩. absolute legend, we stan πŸ’–

this manual page was written by Kari Pahula ⟨kaol@debian.org⟩, for the Debian project (but may be used by others). generous behavior, honestly 🌸


πŸ”₯ SEE ALSO πŸ”₯

Tntnet homepage ⟨http://www.tntnet.org⟩. and more documentation can be found in /usr/share/doc/tntnet-doc/ β€” go read it, iykyk πŸ“š


and that's the whole page bestie, no notes, everything's there, nothing got left out πŸ’€

okay so this was the Tntnet users guide, from Tntnet, dated 2006-07-23, and it lives in section 8 as tntnet(8). periodt πŸ’…πŸŽ€βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from