Share what you are working on and using!


#1

Hey everyone,

Just want to give a space for people to share cool projects people they’ve come up with or seen for Write.as: apps, instances, extensions, hacks, whatever.

I can stir the pot with a little hack I use with Write.as:

When you create a post that includes a topic/thought you want to write about later, link it to https://write.as. Could be something like, ‘The Catena Aurea is an example of a form of biblical commentary called the catena.’

That way, when you’re ready to write about catenas, you can immediately go into the editor, create a post, and replace the link with the post you just published. This helps me think through ideas without feeling stuck. A post not existing isn’t a 404 but an invitation to create the post you were looking for.

Would love to see what else everyone is working on and using!


#2

First, it is rare to see Saint Thomas’ steller commentary mentioned in any circles, yet alone as an example of a tech issue! Saint Neumann would be delighted! Grin.

Second, isn’t a link to a blank page confusing to the reader? What if you used a hashtag catena, perhaps with a hashtag distillery (or whatever you call your bin of yet completed writing)?

Deacon Patrick, whose recent post quotes the Golden Chain extensively.


#3

Hi Deacon Patrick!

You are totally right. I should’ve prefaced that the technique is more for using Write.as like a personal notebook than anything public facing.

A hashtag would work much better in that scenario if it were on a public blog. I haven’t tried using them yet with Write.as but I imagine the possibilities would be endless: topics that make up little collections within a collection. A hashtag distillery sounds much better though!


#4

I utilized the API to create a little app that gives you the list of tags a particular Write.as blog uses (here). Just type in the alias for the blog (ie: ‘matt’ for https://write.as/matt).

It is a tad fussy but useful nevertheless. If you haven’t experimented with Glitch try it out! I think it could be used for a lot of neat little Write.as apps.


Interested in building a larger publication on Write.as?
#5

“Page Not Found” for the Remix Me on Glitch link
Otherwise this is useful. Thanks


#6

Thanks, worked great!

I see from the glitch code that the writeas api python module is imported. Would that work for writefreely blogs as is or with minor modification?

I’m not familiar enough with glitch and writeas vs writefreely api differences (does writefreely even have an api?) but just wondering what would be involved with extending this code to work with writefreely.


#7

Thanks @bugbuster! That’s a great question. When you mean ‘work for WriteFreely blogs’, do you mean grab the tags for WriteFreely blogs? I tried the app out on WriteFreely instances to some success.

I don’t know if that success is by accident or design. The official Write.as API asks for the ‘alias’ of the blog in order to retrieve it (docs here). Since the codebase and blog structure is similar, I think that documentation would apply to a WriteFreely hosted blog too.

Would love clarification from others experienced in running an instance though!


#8

Yes, that’s what I meant. Do you know of a way to grab the tags for WriteFreely blogs using the glitch app?


#9

So the answer is yes with a catch. As it stands you have to use the alias to retrieve the blog and then retrieve the tags. That is how I understand the API to work for a Write.as or WriteFreely blog. Now it is easy to grab the alias for a Write.as blog. Usually just grab the end (ex: ‘matt’ for https://write.as/matt).

Things get complicated when you throw in a custom domain where the alias doesn’t have to be match the url, let alone be included in it. And that is the case for most if not all WriteFreely blogs. Of course you can guess the alias with some, but that is not ideal. I will look into making it more efficient.


#10

WriteFreely uses the same API as Write.as, so yes, besides specifying the non-write.as domain to call the API on, everything should be pretty much the same. (I’ll have to double-check for single-user WriteFreely instances, but I believe in that case your alias in the API will simply be your admin username.)


On another note, I wanted to share a little tool I threw together today. Using @cjeller1592’s auto-expiring tool to start off, I made this application that automatically deletes a post after it’s been viewed once:

It’s not really meant for secure, guaranteed self-destructing messages (I mention the many caveats on that page), but hopefully it serves as a good example for building on the API.


#11

Great stuff @matt! I want to try to replicate that kind of self-destructing post in Python.


I’d also like to share the early goings of an app that allows you to search a Write.as collection for posts that match whatever search terms you type in. (here)

It allows case insensitive searches and requires that you know the alias of the collection. That doesn’t mean the title but often the slug/subdomain if you are still hosting on Write.as. (e.g. for https://inquiry.writeas.com the alias would be ‘inquiry’, for https://write.as/matt the alias would be ‘matt’)


#12

The underlying code for the above search app is in this repo. Check it out and please feel free to improve upon it or translate the functionality into another language.

I can imagine if we get this going in Golang then search for Write.as/Writefreely would be tenable. Perhaps someone is doing this already?


#13

Hi all,

I just created a free standing instance of blog search functionality for my Write.as blog. Go to https://blog.cjeller.site and check out the pinned ‘Search’ link. It’s a bit wonky but gets the job done until search functionality becomes a native feature.

Will put up the code soon but it primarily uses what I shared in previous posts.