~sotirisp

London, UK

https://sotiris.papatheodorou.xyz

PhD student at the Smart Robotics Lab in Imperial College London.

~sotirisp/today

Last active 10 days ago

~sotirisp/public-inbox

Last active 2 months ago

~sotirisp/kindleto-discuss

Last active 9 months ago

~sotirisp/kindleto-devel

Last active 9 months ago

~sotirisp/kindleto-announce

Last active 9 months ago
View more

Recent activity

I shall toil at a reduced volume 23 hours ago

From Sotiris Papatheodorou to ~sircmpwn/public-inbox

Hello Drew,

Thank you for your blog all these years. I've found many interesting 
ideas and things I relate to. Thank you for the nice software and 
Sourcehut as well, one of the handful of ethical companies in the 
industry. I'm looking forward to your future work knowing it will be 
respectful to users and of high quality.

All the best,
Sotiris

Re: Removing "restricted" mode 4 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

Hi all,

On 2022-11-30, sourcehut@ploum.eu wrote:
> From AV-98, Offpunk inherited a "restricted" mode in which options 
> could not be changed and some features are not available.

I think the restricted mode was added to AV-98 because Solderpunk was 
offering a public instance over SSH. Restricted mode seems to disallow 
disk writes, certificates and other features which could be used to 
attack the computer running the public instance. Thus I think it's 
probably safe to remove given Offpunk's focus.

Sotiris

Re: Investigating shell injections (bug #9) 10 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

The problem is that given the URL

http://example.com/cat.jpeg%3B%20rm%20-rf%20%2f

and the decoded path

cat.jpeg; rm -rf /

passing it to e.g. xdg-open like so

xdg-open cat.jpeg; rm -rf /

will first call the xdg-open command with cat.jpeg as an argument and 
then call the rm command. The correct way would be to call xdg-open like

Re: [PATCH v3] add support for the finger protocol 10 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

Here are some finger URLs I've used to test my own client:

finger://tilde.team
finger://mozz.us/michael
finger://hitchhiker-linux.org/nathan

The path component is the query, typically a username. There's not much 
stuff on finger but you come accross it occasionally on Gemini or Gopher 
and implementing it is trivial so I went for it.

[PATCH v3] add support for the finger protocol 10 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

---
 CHANGELOG  |  1 +
 README.md  |  2 +-
 offpunk.py | 19 ++++++++++++++++++-
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index b3986d4..b55c137 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
# Offpunk History

## 1.8 - Unreleased
[message trimmed]

[PATCH v2] add support for the finger protocol 10 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

---
Forgot to update the CHANGELOG in the previous patch.

 CHANGELOG  |  1 +
 README.md  |  2 +-
 offpunk.py | 19 ++++++++++++++++++-
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index f0e7cf0..20c7971 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -3,6 +3,7 @@
## 1.8 - Unreleased
[message trimmed]

[PATCH] add support for the finger protocol 11 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

---
 README.md  |  2 +-
 offpunk.py | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index c4a9394..fb2b75d 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ Offpunk is a fork of the original [AV-98](https://tildegit.org/solderpunk/AV-98)

Offpunk is a single python file. Installation is optional, you can simply download and run "./offpunk.py" or "python3 offpunk.py" in a terminal.

You use the `go` command to visit a URL, e.g. `go gemini.circumlunar.space`. (gemini:// is assumed is no protocol is specified. Supported protocols are gemini, gopher, http, https, mailto, spartan and file).
[message trimmed]

Re: [PATCH] fix typo in package name 19 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

I haven't applied a patch through mutt/neomutt myself so it's great to 
have this reference.

Thanks for making offpunk!

On 2022-11-15, sourcehut@ploum.eu wrote:
>Replying to myself incase someone ever found this thread.
>
>1. Go to the git repository.
>2. open neomutt in that repository.
>3. open the patch email
>4. type "|git am"
>
>That’s all, very easy. Beware, the patch will be commited. So it has to

[PATCH] fix typo in package name 19 days ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

---
 offpunk.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/offpunk.py b/offpunk.py
index 5b1f618..eb3c28c 100755
--- a/offpunk.py
+++ b/offpunk.py
@@ -187,7 +187,7 @@ except ModuleNotFoundError:
_DO_HTML = _HAS_SOUP #and _HAS_READABILITY
if _DO_HTML and not _HAS_READABILITY:
    print("To improve your web experience (less cruft in webpages),")
    print("please install python3-reability or readability-lxml")
    print("please install python3-readability or readability-lxml")
[message trimmed]

Re: [PATCH] Use the -a flag instead of && 2 months ago

From Sotiris Papatheodorou to ~sotirisp/public-inbox

No worries, I'm new to git over email as well. You sent the patch to the
correct list.

Thanks for the patch but I just pushed a new version that removes the
prev command (I wasn't using it) so it's no longer required.

Sorry for the double email myself, I forgot to reply to the list. :D