💾 Archived View for rawtext.club › ~sloum › geminilist › 006399.gmi captured on 2024-02-05 at 11:00:16. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[users] Noob-friendly solutions for co-writing a gemini site?

Gary Johnson lambdatronic at disroot.org

Tue Apr 20 18:07:27 BST 2021

- - - - - - - - - - - - - - - - - - - 

Unicorn <unicorn at disroot.org> writes:

So I was wondering, did any of you have similar challenges? What
solution did you ultimately go with? There are a few pieces to this
puzzle, so I will just list them individually:
* Easy writing of the text itself with Linux or web-based GUI (syntax
highlighting is a big plus, fancy rendering of headers or lists etc
is not necessary because it's already so simple)

Just let her use any text editor with Gemtext syntax support. I useEmacs with gemini-mode, which is great and even lets you follow yourlinks from file to file. I'm sure there are a number of other editorsout there to choose from with a similar kind of plugin.

* The text should be structured in directories in the exact same way
that the site ultimately will be

Use your GUI file manager to make directories and new Gemtext files. Ihaven't used one in years, but I'm pretty sure you just need toright-click in a folder and select New Folder or New Text File each timeyou want to create something. All Gemini servers (to my knowledgeanyway) will map URLs to file paths from a specified document rootdirectory, which should be the toplevel directory containing yourcapsule pages.

* The whole structure of files should be accessible to both of us,
either with some server-based solution or with eg. Syncthing keeping
the state of our computers in sync

Set up a Nextcloud server on the machine that is running your Geminiserver. Make one of your Nextcloud folders your document root directoryfor your capsule.

Install Nextcloud clients on your local computer and your partner'scomputer. Create your capsule directories and pages in a folderautomatically synced to your remotely hosted Nextcloud server.

This should ensure that any files that either of you create, edit, ordelete will automatically be shared between you two and published toyour public Gemini capsule with no additional steps.

* The whole structure of files needs to be regularly uploaded to the
server that is hosting our site

See the previous point's comments about automatic publishing. If youwant to manually publish file changes instead, you should be able toconfigure your Nextcloud client to only upload file changes when youmanually run it rather than automatically.

Best of luck, Gary

-- GPG Key ID: 7BC158EDUse `gpg --search-keys lambdatronic' to find meProtect yourself from surveillance: https://emailselfdefense.fsf.org=======================================================================() ascii ribbon campaign - against html e-mail/\ www.asciiribbon.org - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.See http://www.gnu.org/philosophy/no-word-attachments.html