# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 39
# self = https://watcher.sour.is/conv/ck25fya
Assuming the DNS is playing ball now, my little personal site https://www.andrewjvpowell.com/ is now self hosted and solar powered. As @mckinley can attest, running on the original nearlyfreespeech.net non-production plan could use as little as $0.01 per day so there's not really any advantage to this, its just... because I can 🙃
@mckinley @eldersnake Photos? 🤔
@mckinley @eldersnake Photos? 🤔
Not working here 😥
Not working here 😥
@eldersnake @mckinley How are you "solar" powering it?
@eldersnake @mckinley How are you "solar" powering it?
@prologic @mckinley @eldersnake Yeah, photos?
@prologic @mckinley @eldersnake Yeah, photos?
bugger ! and yet works on everything I test it on outside of the home network 🤣 typical. Did you use the www sub domain ? I know it doesn't load on the root "naked" domain yet.
eh yeah photos will come but I need to tidy the installation. I've had the solar setup itself for a while, a 160w solar panel on a regular deep cycle car battery powering an LTE Optus Broadband connection, which feeds into a GL-AR300 mini router connected to a 110m Ethernet run of cable back to my house. Its as Jerry rigged as it comes, but I live quite rural and its been a secondary connection as I only have a satellite broadband connection otherwise 😔 until Starlink lands anyway
the reason for the distance from the house is the LTE connection is hooked up to dual MiMo yagis to get a strong signal.
the server itself is on a Raspberry Pi 3+. Probably the worst internet setup for a public server ever, but its been fine in my testing. Its even loading fine for me on my phone and I'm out and about at the moment, so I dont know why its not loading for others unless its a DNS propergation thing.
@eldersnake No 'www' http://andrewjvpowell.com/ doesn't work!
@eldersnake No 'www' http://andrewjvpowell.com/ doesn't work!
@adi @eldersnake I get something along:\n\n> Temporarily Unavailable\n> The website at andrewjvpowell.com is unreachable at the moment. Possible explanations:\n\n> Your pagekite.py may need to be upgraded!\n> The computer may have been turned off\n> The computer may be disconnected from the Internet\n> The PageKite program may not be running
@adi @eldersnake I get something along:

> Temporarily Unavailable
> The website at andrewjvpowell.com is unreachable at the moment. Possible explanations:

> Your pagekite.py may need to be upgraded!
> The computer may have been turned off
> The computer may be disconnected from the Internet
> The PageKite program may not be running
@adi @eldersnake I get something along:\n\n> Temporarily Unavailable\n> The website at andrewjvpowell.com is unreachable at the moment. Possible explanations:\n\n> Your pagekite.py may need to be upgraded!\n> The computer may have been turned off\n> The computer may be disconnected from the Internet\n> The PageKite program may not be running
@adi try https
and it will need the "www" as well as https. Seems I'll need a redirect..
To explain, because my ISP blocks port 80 and 443, I'm using Pagekite to tunnel it out, but im currently only running a tunnel to https.
and it will need the "www" as well as https. Seems I'll need a redirect..\nTo explain, because my ISP blocks port 80 and 443, I'm using Pagekite to tunnel it out, but im currently only running a tunnel to https.
@eldersnake I'm redirected to http from https and getting those messages?
@eldersnake I'm redirected to http from https and getting those messages?
@eldersnake Ok, works with https and www.
@eldersnake Ok, works with https and www.
yeah ill have to add a http tunnel when I get home. I have my Nginx config set to redirect to https from http requests but of course if i don't have a http tunnel it would never get there. silly me 🤦‍♀️
@eldersnake How's the experience actually using PageKite? I've recommended it as an alternative to Ngrok but I haven't had a reason to use it myself.
@eldersnake How's the experience actually using PageKite? I've recommended it as an alternative to Ngrok but I haven't had a reason to use it myself.
a simple Makefile for forwarding internet to your local machine:

SSH_HOST=https://xuu.me
PRIV_KEY=~/.ssh/id_ed25519
forward:
	LOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"
a simple Makefile for forwarding internet to your local machine:\n
\nSSH_HOST=https://xuu.me\nPRIV_KEY=~/.ssh/id_ed25519\nforward:\n\tLOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"\n
a simple Makefile for forwarding internet to your local machine:

SSH_HOST=https://xuu.me
PRIV_KEY=~/.ssh/id_ed25519
forward:
	LOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"
a simple Makefile for forwarding internet to your local machine:

SSH_HOST=https://xuu.me
PRIV_KEY=~/.ssh/id_ed25519
forward:
\tLOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"
a simple Makefile for forwarding:\n
\nSSH_HOST=https://xuu.me\nPRIV_KEY=~/.ssh/id_ed25519\nforward:\n\tLOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"\n
a simple Makefile for forwarding internet to your local machine:

SSH_HOST=https://xuu.me
PRIV_KEY=~/.ssh/id_ed25519
forward:
\tLOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)"  }')"
using this as the service: https://github.com/JonLundy/sshfwd
using this as the service: https://github.com/JonLundy/sshfwd
using this as the service: https://github.com/JonLundy/sshfwd
@xuu Looks cool!
@xuu Looks cool!