# 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 35
# self = https://watcher.sour.is?uri=https://twtxt.net/user/thewismit/twtxt.txt&offset=35
@prologic
@thewismit @prologic I think the light bulb just turned on! Let's see if I can get my pod up now.
@prologic anyway it works from a built from source image but that's going to upset my entire docker and backup strategy lol
@prologic BTW. I bypassed the proxy today with Lyse walking me through a bunch of testing steps , and it seems there's something wrong with either my docker config or potentially the image? Because I'm unable to log in directly at the IP:Pprt either.

It can't be the image right? You have a lot of pulls that are in use? I also pulled a fresh image just to be sure.
@prologic BTW. I bypassed the proxy today with Lyse walking me through a bunch of testing steps , and it seems there's something wrong with either my docker config or potentially the image? Because I'm unable to log in directly at the IP:Pprt either. \n\nIt can't be the image right? You have a lot of pulls that are in use? I also pulled a fresh image just to be sure.
@prologic so until I can get a successfully hosted pod of my own, can I host one with you? Do you have any pricing plans worked up yet?
@prologic there now
@thewismit @prologic I realize that you don't control the availability of dependencies across multiple platforms. So if this means I have to host my blog with your twt.social site, can you please let me know what it would cost me per month? thx.
@thewismit @prologic and then this

wget http://s3.amazonaws.com/downloads.riak.com/erlang/otp_src_R16B02-basho10.tar.gz
--2021-01-19 17:11:21--  http://s3.amazonaws.com/downloads.riak.com/erlang/otp_src_R16B02-basho10.tar.gz
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.48.214
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.48.214|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: unspecified
ERROR: Redirection (301) without location.
@thewismit @prologic and then this\n
\nwget http://s3.amazonaws.com/downloads.riak.com/erlang/otp_src_R16B02-basho10.tar.gz\n--2021-01-19 17:11:21--  http://s3.amazonaws.com/downloads.riak.com/erlang/otp_src_R16B02-basho10.tar.gz\nResolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.48.214\nConnecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.48.214|:80... connected.\nHTTP request sent, awaiting response... 301 Moved Permanently\nLocation: unspecified\nERROR: Redirection (301) without location.\n
@thewismit @prologic trying to install bitcask for Ubuntu and it looks like the erlang install for Ubuntu has been permanently moved. Not sure where to go from here.\n
\nhttps://docs.riak.com/riak/kv/2.2.3/setup/installing/source/erlang.1.html#installing-on-debian-ubuntu\n
@thewismit @prologic trying to install bitcask for Ubuntu and it looks like the erlang install for Ubuntu has been permanently moved. Not sure where to go from here.

https://docs.riak.com/riak/kv/2.2.3/setup/installing/source/erlang.1.html#installing-on-debian-ubuntu
@prologic @thewismit Looks like docker is getting stuck at this line\n
command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net
\n
COMMAND                  CREATED         STATUS                          PORTS                                                                        NAMES\n23fb7b4f066a   jointwt/twtxt:latest                  "/twtd -d /data -r -…"   2 minutes ago   Restarting (2) 39 seconds ago
@prologic @thewismit Looks like docker is getting stuck at this line
command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net

S
23fb7b4f066a   jointwt/twtxt:latest                  "/twtd -d /data -r -…"   2 minutes ago   Restarting (2) 39 seconds ago
@thewismit @prologic don't worry secret will be changed ;P Can you also explain what the volumes: directive does?
@prologic how's this look?

---
version: "3.8"
services:
  twtxt:
    image: jointwt/twtxt:latest
    command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net
    environment:
      - COOKIE_SECRET=02asr5Yg10UTJLbj6gShK5dKmR6MulYPyR3jBQjD5rou6TlW0x2tIN3gNAqzv3xV
      - BASE_URL=https://blog.thewismit.com
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    ports:
    # - 80:80
      - 6877:443
    volumes:
      - /mnt/data/docker/twtxt/data:/data
      restart_policy:
        condition: on-failure
volumes:
  twtxt:
    driver: local
@prologic how's this look?\n
\n---\nversion: "3.8"\nservices:\n  twtxt:\n    image: jointwt/twtxt:latest\n    command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net\n    environment:\n      - COOKIE_SECRET=02asr5Yg10UTJLbj6gShK5dKmR6MulYPyR3jBQjD5rou6TlW0x2tIN3gNAqzv3xV\n      - BASE_URL=https://blog.thewismit.com\n      - PUID=1000\n      - PGID=1000\n      - TZ=America/New_York\n    ports:\n    # - 80:80\n      - 6877:443\n    volumes:\n      - /mnt/data/docker/twtxt/data:/data\n      restart_policy:\n        condition: on-failure\nvolumes:\n  twtxt:\n    driver: local\n
@prologic so bind a host port to container port 8000 and I'm not sure what you mean by base.
I'd also like to run this on a different port than 8000. I already run yacht on that port.
@prologic that would help a lot if I'm not already close hehe
@prologic would somethingkke this work?


---
version: "3.8"

services:
  twtxt:
    image: jointwt/twtxt:latest
    command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net
    environment:
      - COOKIE_SECRET=PLEASE_CHANGE_ME_TO_A_64_BYTE_RANDOM_STRING
    volumes:
      - /mnt/data/twtxt:/data
      restart_policy:
        condition: on-failure

volumes:
  twtxt:
    driver: local

I don't know what the local driver volume is though. Never used that.
@prologic would somethingkke this work?\n\n
\n---\nversion: "3.8"\n\nservices:\n  twtxt:\n    image: jointwt/twtxt:latest\n    command: -d /data -r -s bitcask:///data/twtxt.db -u https://twtxt.net\n    environment:\n      - COOKIE_SECRET=PLEASE_CHANGE_ME_TO_A_64_BYTE_RANDOM_STRING\n    volumes:\n      - /mnt/data/twtxt:/data\n      restart_policy:\n        condition: on-failure\n\nvolumes:\n  twtxt:\n    driver: local\n
\nI don't know what the local driver volume is though. Never used that.
@prologic a bit. I recognize the yaml syntax from my other docker-compose files but I don't run traefik and don't know the first thing about swarms.\n\nCan I rip out the traefik config and bind map a volume to my file system?
@prologic a bit. I recognize the yaml syntax from my other docker-compose files but I don't run traefik and don't know the first thing about swarms.

Can I rip out the traefik config and bind map a volume to my file system?
@prologic Heya. Do you have a published docker image and corresponding docker-compose.yml sample config? I see that you mention running docker in the README but I'm not familiar with running it, using the extracted binary file structure.
@adi I found you via twtxt and am considering using it as my blogging/microblogging platform. But then I see what you're doing and I wonder if I should just create templates for micro/macro posts.\n\nI suppose it depends on how much functionality I want.
@adi I found you via twtxt and am considering using it as my blogging/microblogging platform. But then I see what you're doing and I wonder if I should just create templates for micro/macro posts.

I suppose it depends on how much functionality I want.
@dooven @prologic excellent lol!
@adi Why another static site generator? What are you trying to do differently?
So why is the mobile app called Goryon @prologic?
@prologic @xuu @etux nice. I'll have a look through the dev docs tomorrow and learn more. Thanks!
@prologic I'm going to setup my own pod tomorrow and see how the install goes.
@prologic hey there. Do you have any plans to support inter-pod follows? I'm thinking about using this as my blogging platform and it would be nice to be able to do that if this really takes off!
Blog post #<1 https://twtxt.net/search?tag=1>
Testing 1..2..3..