summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2023-06-27 17:07:06 -0400
committerSteph Enders <steph@senders.io>2023-06-27 17:07:06 -0400
commit43762acc52ea0bc976b38f26bc0baa1454311a17 (patch)
tree4a042d6926dd967eb9ebf0f80c1f532521727e72
parent8734bb597ef1074645f22f6cbe0445c9dd12d434 (diff)
Create gemini capsule for website
Generates the gemini capsule files in the make file.
-rw-r--r--capsule/dear-at-thewomaninmyeye-dotorg-pgp-key.txt14
-rw-r--r--capsule/gemlog.gmi0
-rw-r--r--capsule/index.gmi20
-rw-r--r--gemini/about-her.gmi17
-rw-r--r--gemini/dear-at-thewomaninmyeye-dotorg-pgp-key.txt14
-rw-r--r--gemini/gemlog.gmi0
-rw-r--r--gemini/index.gmi15
-rw-r--r--gemini/log/all-signs-point-to-her.gmi27
-rw-r--r--gemini/log/index.gmi4
-rw-r--r--gemini/log/who-is-the-woman-in-my-eye.gmi17
-rwxr-xr-xgemparse.py68
-rwxr-xr-xmake.sh15
-rw-r--r--pages/blog.html7
-rw-r--r--requirements.txt1
14 files changed, 219 insertions, 0 deletions
diff --git a/capsule/dear-at-thewomaninmyeye-dotorg-pgp-key.txt b/capsule/dear-at-thewomaninmyeye-dotorg-pgp-key.txt
new file mode 100644
index 0000000..3147b6b
--- /dev/null
+++ b/capsule/dear-at-thewomaninmyeye-dotorg-pgp-key.txt
@@ -0,0 +1,14 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+xjMEZJs41hYJKwYBBAHaRw8BAQdA1txHDsLxlEtjSqdlscxI5RD3k3oF028Z
+VhFIflt+oJzNM2RlYXJAdGhld29tYW5pbm15ZXllLm9yZyA8ZGVhckB0aGV3
+b21hbmlubXlleWUub3JnPsKMBBAWCgA+BYJkmzjWBAsJBwgJkLbExVTC9w8V
+AxUICgQWAAIBAhkBApsDAh4BFiEEcDQqNy+S5dMScgRytsTFVML3DxUAAFMX
+AQCzs4+/W5A0TJLBExbK3e55K+IhQRzc5XCgV3KDcnAC3QEAzX6zBVF5cjkn
+mnSqd1Km6D2NbvNGJ4eHwnenBgiG6g/OOARkmzjWEgorBgEEAZdVAQUBAQdA
+cGlqWQyBY2cuGxIZVc7HY3jZe5OWX5NvbbvhMSa/EVcDAQgHwngEGBYIACoF
+gmSbONYJkLbExVTC9w8VApsMFiEEcDQqNy+S5dMScgRytsTFVML3DxUAAGA7
+AQCu7lXZTslqBQukh4pl7XbbkV1M1vIqulqLBHYP9MHuygEAzIHhKYFOSaDV
+rhOVVDtzqZlRfgilNYDvMVg6xVAbVww=
+=v4xB
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/capsule/gemlog.gmi b/capsule/gemlog.gmi
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/capsule/gemlog.gmi
diff --git a/capsule/index.gmi b/capsule/index.gmi
new file mode 100644
index 0000000..a559b1a
--- /dev/null
+++ b/capsule/index.gmi
@@ -0,0 +1,20 @@
+# The Woman in my Eye
+
+Welcome to my capsule. I am a 30s something transgender woman. This capsule focuses on my journey transitioning and discovering my gender. I am not a medical professional or an expert on the subject. I am simply a girl trying to share her story in the hopes it might actually help someone else find themselves...or entertain; either works!
+
+If you ever need to refer to me "the author" you can just as Dear.
+
+=> /log/ gemlog
+
+## Contact
+
+You can always email me at:
+=> mailto:dear@thewomaninmyeye.org [mailto] dear[at]thewomaninmyeye.org
+=> /dear-at-thewomaninmyeye-dotorg-pgp-key.txt PGP Key (70342a372f92e5d312720472b6c4c554c2f70f15)
+
+=> https://thewomaninmyeye.org View on HTTP
+
+## License
+
+© 2023 TheWomanInMyEye dot org - CC BY-SA 4.0 unless otherwise noted.
+=> https://creativecommons.org/licenses/by/4.0/
diff --git a/gemini/about-her.gmi b/gemini/about-her.gmi
new file mode 100644
index 0000000..6bea9b6
--- /dev/null
+++ b/gemini/about-her.gmi
@@ -0,0 +1,17 @@
+# Who is the woman in my eye
+
+
+When I was little I would stare into the lights around my room. It would create little spots in my vision; flickering and dancing that would eventually fade away. As they would face every time the every shrinking flickering dot would become this image of a woman's face. She was beautiful. She captivated me. I would do this constantly growing up. I would stare into my ceiling lights, in the lights coming through my window, anywhere - if it meant I could see her. I would try staring at larger lights hoping that final flickering dot was larger and I would be able to see her more clearly. She stayed with me for most of my childhood. It wasn't until I was around high-school that I lose memory of seeing her. Which makes sense since this was when the lights, in general, faded from my eyes. But who was she?
+
+
+I like to think she was me. She is me.
+
+If you ever wish to share your story or ask a question you can always email me at:
+ dear[at]thewomaninmyeye[dot]org[0]
+
+## Links
+
+=> mailto:dear@thewomaninmyeye.org [0] mailto:dear@thewomaninmyeye.org
+=> https://thewomaninmyeye.org/about-her.html view on http
+=> /log/ back
+=> / capsule
diff --git a/gemini/dear-at-thewomaninmyeye-dotorg-pgp-key.txt b/gemini/dear-at-thewomaninmyeye-dotorg-pgp-key.txt
new file mode 100644
index 0000000..3147b6b
--- /dev/null
+++ b/gemini/dear-at-thewomaninmyeye-dotorg-pgp-key.txt
@@ -0,0 +1,14 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+xjMEZJs41hYJKwYBBAHaRw8BAQdA1txHDsLxlEtjSqdlscxI5RD3k3oF028Z
+VhFIflt+oJzNM2RlYXJAdGhld29tYW5pbm15ZXllLm9yZyA8ZGVhckB0aGV3
+b21hbmlubXlleWUub3JnPsKMBBAWCgA+BYJkmzjWBAsJBwgJkLbExVTC9w8V
+AxUICgQWAAIBAhkBApsDAh4BFiEEcDQqNy+S5dMScgRytsTFVML3DxUAAFMX
+AQCzs4+/W5A0TJLBExbK3e55K+IhQRzc5XCgV3KDcnAC3QEAzX6zBVF5cjkn
+mnSqd1Km6D2NbvNGJ4eHwnenBgiG6g/OOARkmzjWEgorBgEEAZdVAQUBAQdA
+cGlqWQyBY2cuGxIZVc7HY3jZe5OWX5NvbbvhMSa/EVcDAQgHwngEGBYIACoF
+gmSbONYJkLbExVTC9w8VApsMFiEEcDQqNy+S5dMScgRytsTFVML3DxUAAGA7
+AQCu7lXZTslqBQukh4pl7XbbkV1M1vIqulqLBHYP9MHuygEAzIHhKYFOSaDV
+rhOVVDtzqZlRfgilNYDvMVg6xVAbVww=
+=v4xB
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/gemini/gemlog.gmi b/gemini/gemlog.gmi
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gemini/gemlog.gmi
diff --git a/gemini/index.gmi b/gemini/index.gmi
new file mode 100644
index 0000000..bb8bb78
--- /dev/null
+++ b/gemini/index.gmi
@@ -0,0 +1,15 @@
+# The Woman in my Eye
+
+Welcome to my capsule. I am a 30s something transgender woman. This capsule focuses on my journey transitioning and discovering my gender. I am not a medical professional or an expert on the subject. I am simply a girl trying to share her story in the hopes it might actually help someone else find themselves...or entertain; either works!
+
+If you ever need to refer to me "the author" you can just as Dear.
+
+=> /log/ gemlog
+
+## Contact
+
+You can always email me at:
+=> mailto:dear@thewomaninmyeye.org [mailto] dear[at]thewomaninmyeye.org
+=> /dear-at-thewomaninmyeye-dotorg-pgp-key.txt PGP Key (70342a372f92e5d312720472b6c4c554c2f70f15)
+
+=> https://thewomaninmyeye.org View on HTTP
diff --git a/gemini/log/all-signs-point-to-her.gmi b/gemini/log/all-signs-point-to-her.gmi
new file mode 100644
index 0000000..16b59c5
--- /dev/null
+++ b/gemini/log/all-signs-point-to-her.gmi
@@ -0,0 +1,27 @@
+# All signs point to her
+
+A walk through my life pre-transition
+
+Content warning: Multiple descriptions of genitalia.
+
+I can't remember everything of course and being in my mid 30s so many of these memories are distorted by time, home movies, or bias. This is the struggle with reminiscing or looking for signs. Most of them probably are there but they're not important, at least once you've taken the leap and actually come out to yourself. That said, these signs are helpful for the struggling egg (an egg is an "unhatched" trans person) as they can be what it takes to really convince yourself that what you're feeling is real. The first step is obviously admitting to yourself you may be trans and begin exploring your gender. So being able to understand what was happening before is a useful tool. These are the memories that stick with you; those that make you think at the time "hmm, isn't this curious?". Later on you'll recall "I really wish I knew why I was like that/did that..." but when you come out to yourself that question gets answered "oh, I am trans and that was me not realizing the feelings I was having".
+
+
+The earliest pure trans memory I have was the first time I saw female genitalia. My younger sister, I would've been around 4-5 years old and her a few years younger, was running around the house naked, as you do, and I saw that she was built differently. I remember thinking "wait? why does she not have what I have?" I wanted what she had. Ever since then I'd do the whole tuck behind my legs trick and feel right. I'd do this pretty much every time I showered for a very very long time. I can't speak to how other children would react to that; my sister was just laughing. I, however, was just fascinated with being like her, a girl.
+
+
+There are other things in this era, when I was 5 or so, where it's hard to classify as trans signs/moments or if you'd classify it as a just a kid with an active imagination. But even then I would say do typical cis boys imagine being a woman this often. Playing dress up and having affinity for dressing in woman's clothes, shoes, etc and playing with my sister's doll and stuff. Maybe I was just a great sibling. It's more likely these were me being unabashedly me. Disregarding gendered expectations. I also played with my older brother with like transformers and GI Joes. It's not like I was just girl day and night. (Expect a write later on about the atypically of pre-transition trans experiences). Toys aren't gendered and neither are clothes. But I have vivid memories of "Oh, I'm a boy, I shouldn't be playing with Barbies eww!" despite having so much fun building outfits and stuff with my sister.
+
+
+It's always important to remember we're growing up seeing the expectations set upon us. By our parents, friends, family, teachers, friend's parents on them, etc. It doesn't even need to be pressured. We look at ourselves, we see ourselves in the mirror and how we resemble our siblings or friends and mirror their behaviors. That's just nature. So what I look for were those times when I broke that mold. Where, almost instinctively, without thinking, I do something that I couldn't explain at the time. The big thing for me was the cross-dressing. Which is for another post.
+
+
+Being transgender is not easy. Our entire life gets upended and we almost have to entirely reconsider our past to better setup a more comfortable future. Like all things every human is unique and every trans journey is. I am a binary trans person firmly falling under "woman". This made things easier for me as I had a lot of learned experiences from growing up around many women and felt my affinity for them. But even still it took me 25+ years from that first thought to come out despite actively engaging with my gender exploration multiple times prior.
+
+All signs point to her...but the path there was winding.
+
+## Links
+
+=> https://thewomaninmyeye.org/blog/all-signs-point-to-her.html view on http
+=> /log/ back
+=> / capsule
diff --git a/gemini/log/index.gmi b/gemini/log/index.gmi
new file mode 100644
index 0000000..356d354
--- /dev/null
+++ b/gemini/log/index.gmi
@@ -0,0 +1,4 @@
+# Gemlog
+
+=> /log/all-signs-point-to-her.gmi 2023-06-27 - All signs point to her
+=> /log/who-is-the-woman-in-my-eye.gmi 2023-06-25 - Who is the woman in my eye
diff --git a/gemini/log/who-is-the-woman-in-my-eye.gmi b/gemini/log/who-is-the-woman-in-my-eye.gmi
new file mode 100644
index 0000000..6bea9b6
--- /dev/null
+++ b/gemini/log/who-is-the-woman-in-my-eye.gmi
@@ -0,0 +1,17 @@
+# Who is the woman in my eye
+
+
+When I was little I would stare into the lights around my room. It would create little spots in my vision; flickering and dancing that would eventually fade away. As they would face every time the every shrinking flickering dot would become this image of a woman's face. She was beautiful. She captivated me. I would do this constantly growing up. I would stare into my ceiling lights, in the lights coming through my window, anywhere - if it meant I could see her. I would try staring at larger lights hoping that final flickering dot was larger and I would be able to see her more clearly. She stayed with me for most of my childhood. It wasn't until I was around high-school that I lose memory of seeing her. Which makes sense since this was when the lights, in general, faded from my eyes. But who was she?
+
+
+I like to think she was me. She is me.
+
+If you ever wish to share your story or ask a question you can always email me at:
+ dear[at]thewomaninmyeye[dot]org[0]
+
+## Links
+
+=> mailto:dear@thewomaninmyeye.org [0] mailto:dear@thewomaninmyeye.org
+=> https://thewomaninmyeye.org/about-her.html view on http
+=> /log/ back
+=> / capsule
diff --git a/gemparse.py b/gemparse.py
new file mode 100755
index 0000000..28ac91a
--- /dev/null
+++ b/gemparse.py
@@ -0,0 +1,68 @@
+#!/usr/bin/env python3
+import sys
+import re
+from bs4 import BeautifulSoup
+
+def strip(string):
+ ret = []
+ for s in string.split("\n"):
+ ret.append(s.lstrip())
+ return "\n".join(ret)
+
+source = sys.argv[1]
+dest = sys.argv[2]
+http_url = sys.argv[3]
+
+source_f = open(source, "r")
+dest_f = open(dest, "w")
+
+html = BeautifulSoup(source_f, 'html.parser')
+heading = None
+subheading = None
+
+if html.article.header:
+ heading = strip(html.article.header.h2.string)
+ if html.article.header.p:
+ subheading = strip(html.article.header.p.string)
+else:
+ heading = strip(html.article.h2.string)
+
+if heading is None:
+ print("No heading found", file=sys.stderr)
+ exit(1)
+print("# {}\n".format(heading), file=dest_f)
+if subheading is not None:
+ print(subheading, file=dest_f)
+
+links = dict()
+linkCnt = 0
+
+for tag in html.article.children:
+ if tag.name == "p":
+ if len(tag.contents) == 1:
+ # it's just text
+ print(strip(tag.string), file=dest_f)
+ else:
+ # contains multiple tags
+ # we should check for links
+ for child in tag.contents:
+ if child.name == "a":
+ href = child.get("href")
+ print("{}[{}]".format(strip(child.string), linkCnt), end=" ", file=dest_f)
+ links[linkCnt] = href
+ linkCnt += 1
+ else:
+ if child.string == "\n":
+ print(child.string, end="", file=dest_f)
+ else:
+ print(strip(child.string), end=" ", file=dest_f)
+
+
+print("\n## Links\n", file=dest_f)
+for link_n, link in links.items():
+ print("=> {} [{}] {}".format(link, link_n, link), file=dest_f)
+
+print("=> https://thewomaninmyeye.org/{} view on http".format(http_url), file=dest_f)
+print("=> /log/ back", file=dest_f)
+print("=> / capsule", file=dest_f)
+
diff --git a/make.sh b/make.sh
index 8da7840..0561305 100755
--- a/make.sh
+++ b/make.sh
@@ -17,3 +17,18 @@ cp -r static/* www
# RSS
./render.sh pages/blog/feed.rss www/blog/feed.rss
+
+# Gemini
+mkdir -p gemini/log
+cp -r capsule/* gemini
+
+# generate gemlog
+touch gemini/log/index.gmi
+echo -e "# Gemlog\n" > gemini/log/index.gmi
+
+./gemparse.py entries/all-signs-point-to-her.html gemini/log/all-signs-point-to-her.gmi blog/all-signs-point-to-her.html
+echo "=> /log/all-signs-point-to-her.gmi 2023-06-27 - All signs point to her" \
+ >> gemini/log/index.gmi
+./gemparse.py entries/about-her.html gemini/log/who-is-the-woman-in-my-eye.gmi about-her.html
+echo "=> /log/who-is-the-woman-in-my-eye.gmi 2023-06-25 - Who is the woman in my eye" \
+ >> gemini/log/index.gmi
diff --git a/pages/blog.html b/pages/blog.html
index b77e5ad..26a1aa7 100644
--- a/pages/blog.html
+++ b/pages/blog.html
@@ -31,6 +31,13 @@
/blog/feed.rss
</a>. This will contain each of the entries listed below!
</p>
+ <p> You can also find it on gemini:
+ <a href="gemini://thewomaninmyeye.org/log/"
+ rel="noopener external" target="_blank">
+ gemini://thewomaninmyeye.org/log/
+ </a> (<a href="https://gemini.circumlunar.space/docs/faq.gmi"
+ rel="noopener external" target="_blank">What is gemini? (Project FAQ)</a>)
+ </p>
</article>
<article>
<h2>Entries</h2>
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..1e42172
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+beautifulsoup4 >= 4.1