<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>ttyd on</title><link>https://notes.freaks.dev/tags/ttyd/</link><description>Recent content in ttyd on</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Tue, 06 Dec 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://notes.freaks.dev/tags/ttyd/index.xml" rel="self" type="application/rss+xml"/><item><title>Ttyd</title><link>https://notes.freaks.dev/selfhost/ttyd/</link><pubDate>Tue, 06 Dec 2022 00:00:00 +0000</pubDate><guid>https://notes.freaks.dev/selfhost/ttyd/</guid><description>You must setup Lighttpd and Cloudflared first.
Steps create ttyd directory in $HOME mkdir -p ~/ttyd &amp;amp;&amp;amp; cd ~/ttyd download latest version of ttyd and trzsz curl -LO &amp;#34;https://download.freaks.dev/compiled/ttyd&amp;#34; latest=$(basename $(curl -fs -o/dev/null -w %{redirect_url} https://github.com/trzsz/trzsz-go/releases/latest)) curl -LO &amp;#34;https://github.com/trzsz/trzsz-go/releases/download/${latest}/trzsz_${latest#v}_linux_x86_64.tar.gz&amp;#34; tar -xzf trzsz_${latest#v}_linux_x86_64.tar.gz mv trzsz_${latest#v}_linux_x86_64/* ~/.local/bin/ rm -r trzsz* copy from ttyd.service nano ttyd.service start ttyd service cp ~/ttyd/ttyd.service ~/.config/systemd/user/ systemctl --user daemon-reload systemctl --user enable --now ttyd copy from ttyd.</description></item></channel></rss>