Sharks are cool and comfortable!


Elden Thing | Back & Body Hurts Platinugggggh Rewards Member


Profile pic and banner credits: sharkaeopteryx art by @superkiak! eggbug by eggbug! Mash-up by me!
[Alt-text for pfp: a cute sharkaeopteryx sat on the ground with legs out, wings down, jaw ajar, and hed empty, looking at eggbug and eggbug's enigmatic smile.]
[Alt-text for banner: a Spirit Halloween banner with eggbug and the sharkaeopteryx that Superkiak drew for me looking at it with inscrutable expressions]


I'm a Vietnamese cis woman born and currently living in the U.S. You may know me from Sandwich, from Twitter or Mastodon (same username), or on Twitch as Sharkaeopteryx. I do not have a Discord or Bluesky account.

Ask me about language learning/teaching, cooking/eating food, late diagnosis ADHD, and volunteer small business mentoring. Or don't, I'm not the boss of you.


I think people deserve to be young, make mistakes, and grow without being held to standards they don't know about yet and are still learning. So, if you are under 22, please don't try to strike up a friendship or get involved in discussions on my posts.


Please don't automatically assume I follow/know/co-sign someone just because I reposted something from them—sometimes I do, sometimes I don't. Also, if you think being removed as a follower when we're not mutuals is a cardinal sin, please do not follow me.


🐘Mastodon
search for @sharksonaplane@mastodon.sandwich.net and hit follow if you want
Hang out with me on the Auldnoir forum! (you can DM there!)
discourse.auldnoir.org/
Follow me on Twitch
twitch.tv/sharkaeopteryx
Add my RSS feed (not working yet but I'll get to it!)
sharkaeopteryx.neocities.org/rss.xml

naidje
@naidje

...so that I can run a blog for my personal website, but I cannot for the life of me figure out how to get it running on NearlyFreeSpeech. I'm pretty sure I'm missing some dependencies, and I'm not tech savvy enough to figure out how to install them.

Does anyone know of a nice free non-wordpress blogging engine that's easy to install? I don't need anything super fancy, but I want to at least be able to share art and photos.


You must log in to comment.

in reply to @naidje's post:

I'm in the process of writing a guide for Grav, which is not ideal but at least makes it easy to Post from a web frontend (so one can Post from a phone). I've already got the install process on NFSN down to "paste these commands one at a time into the run shell command box and you're done".

copy pasting directly from my local draft:

Now if you know what a SSH is and you're comfortable doing that, you should SSH in now. All of the info you need is in the SSH/SFTP information table, and yes, it's password auth. If you don't want to do this, there's a text button over on the right side that says "Run Shell Command". Go there. We will be running everything as "me", which should be the default option. The bad news is we have to do this a few times, the good news is we only have to do it once. If you're in SSH you can just chain all of these together with && and paste it in as one big blob.

I'm going to list these out with info about what they're doing, for your own enrichment. But just copy the text without the surrounding `s.

composer -q create-project getgrav/grav /home/public/ (composer is already installed for us, so we just tell it to grab Grav and dump it in our webroot, which is already being served by apache)

At this point it's good to wait a minute or two, just to make sure that's done running. We've no real visibility into progress doing it this way. After that, you can run the following commands back to back:

sed -i '' "s/# RewriteCond %{HTTP:X-Forwarded-Proto} https/RewriteCond %{HTTP:X-Forwarded-Proto} https/" /home/public/.htaccess This is a big messy command to uncomment one line in a file. See the member's only wiki page here
sed -i '' "s/# RewriteRule .* - \[E=HTTPS:on\]/RewriteRule .* - \[E=HTTPS:on\]/" /home/public/.htaccess Same thing again.
chown -R $UID:web /home/public/* Permissions fixing, also from the same wiki page. Only difference is we're using the $UID variable to avoid finding out what our user ID is.
find /home/public/. -type f -exec chmod 664 {} \; && find /home/public/bin -type f -exec chmod 775 {} \; More permissons fixing again. There's a character limit for running commands from the UI this way, but we can run two steps at once this time.
find /home/public/ -type d -exec chmod 775 {} \; && find /home/public/ -type d -exec chmod +s {} \; Final round of permissions fixes.

At this point it's good to wait a minute or two again to let all of that wrap up, those commands iterate over the entirety of the Grav install and while not too big, it has a lot of files. Then, finally:

cd /home/public && bin/gpm -q install admin This installs the "admin" plugin in Grav, which is the Web UI control panel.

After a minute or two, that should have finished running, and from here on out we can do Everything in the Web UI for Grav itself.

Thank you so much for this! I managed to get it all up and running and I'm in the process of modifying the Hypertext theme to suit my personal needs.

Probably gonna take a while to completely get it to where I want, but the RSS feed and gallery are up and running! Those where the most important for me to get working before cohost goes down, so thanks again!

Glad it was helpful!

I found something last night in testing: by default the max file upload size (On NFSN) is 10MB. The limitation is actually a PHP setting, not Grav itself, so you have to change it on the server. The best way to do it is setting the variable in the .htaccess, so,

printf "php_value upload_max_filesize 100M\nphp_value post_max_size 101M" >> /home/public/.htaccess

Will set it to 100MB. If you don't think you'll ever post an image larger than 10MB (a good idea since Grav isn't downscaling those for you) then you can skip it.

How did you go about doing the gallery? I've been trying to go about it in a "don't use JS" way but your solution might be better for some people.

Also, if you don't mind, would you be interested in getting in touch to check the draft of my full guide before I post it? I'm trying to have it up by Monday and have some friends use it by then, but since you've already set up a site, you could probably offer good insight for things that are not clearly presented or things I've missed.

Hey, thanks for the heads up about the upload limit. I had no idea.

As for the gallery, I'm currently using a plugin called Shortcode Gallery++ that lets you wrap images in specific tags in the page editor and gives them a thumbnail gallery layout complete with lightbox.

It doesn't work with Hypertext out of the box tho. The gallery layout works, but to get the lightbox working it requires adding some JS includes in the base.html.twig file located in the /home/public/user/themes/hypertext/templates/partials folder.

As per this post from the github, the lines

{% block javascript %} {% do assets.addJs('theme://js/jquery.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/jquery.scrolly.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/jquery.scrollex.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/jquery.dropotron.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/browser.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/breakpoints.min.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/util.js',{group: 'bottom'}) %} {% do assets.addJs('theme://js/main.js', {group: 'bottom'}) %} {% do assets.addJs('theme://js/custom.js',{group: 'bottom'}) %} {% endblock %} {% block assets deferred %} {{ assets.js()|raw}} {{ assets.css()|raw }} {% endblock %}

need to be added in the <head> section.
And the lines

{% block bottom %} {{ assets.js('bottom')|raw }} {% endblock %}

at the end of the <body> section. After that it should work fine.

Also yeah absolutely! I spent like forever trying to get things working the way I want to, so if I can help make an easy to use guide for other people I'm super willing to talk things over.

I wonder if there's a way to shoehorn that in via Admin instead of messing with the theme directly... :thoink:

All of my contact info is in my bio thingy on Cohost, whichever one works best for you!