Show newer

go-writeas library is getting closer to 100% API coverage (github.com/writeas/go-writeas) and I'm updating the API docs along the way (developers.write.as/docs/api/).

Main reason for all these updates is custom work I'm currently doing around the CLI, which will be really useful for a lot of people.

Here are some of the changes I've been making: github.com/writeas/writeas-cli

Now gallery navigation works completely without Javascript πŸŽ‰

The app still requires it while logged in, just for the nicer, snappy experience of an app that makes asynchronous requests and keeps photos loaded in memory. But anyone viewing your galleries no longer needs it enabled πŸ‘

Making a few tweaks to the API to support the new CLI changes... adding a `url` property on collections and adding a logout endpoint for non-web clients: DELETE /api/auth/me

As an aside to that: like Write.as, Snap.as will have an open API so you can build on top of it. I'm aiming to have the API design solidified and documented by the end of this month. And I'd like to build it so the endpoints can blend with the Write.as API, so any apps built today will continue working with your self-hosted blog.

developers.snap.as/

Show thread

Today I'm working towards this by starting a Snap.as CLI project (github.com/snapas/snapas-cli) that'll work on its own, but I'll also include in the Write.as CLI. The latter will upload to Snap.as today, and when writeas.org is released, you'll have the option to upload photos to your own instance instead.

Show thread

The self-hosted version of Write.as is going to have image hosting built-in.

While it makes sense to have this functionality separated in @snap_as today for the hosted platform, it would be a pain for you to have to install and maintain two separate applications just for this.

Now that I'm actually using the go-writeas library for the CLI, I'm also fixing inconsistent / wrong examples in the API docs developers.write.as/docs/api/?

A very minor update to the CLI, v1.1, is out now: github.com/writeas/writeas-cli

* Adds --user-agent flag
* Fixes `go get`
* Refactors some things

Code is finished on the Linux app -- last thing holding it up is figuring out packaging. Hoping to have that done this week!

Here's that demo instance, running the just-released v0.2: readas.labs.abunchtell.com

Once v1.0 is finished, I'll put it up on Read.as and open up registration to everyone.

Show thread

blogs can also be followed with , and should handle posts without any issues (still need to test). But existing posts aren't pulled in on follow either, because of how the outbox is set up.

Going to need to fully use go-fed for outbox parsing, instead of my currently hacked-together (and much less robust) solution.

Now works with -- everything besides fetching existing posts when you first follow someone, as Plume's outbox does things differently than other platforms I've seen. Might be able to hack around it in the future.

getting close to a point where I can throw up a demo instance.

βœ… Pulling in a user's existing posts when you first follow them
βœ… Fixing post viewing when not logged in
βœ… Fixing database schema so it can eventually support posts from both local and remote users
- Typography improvements
- Instance configuration with JSON file

Home again after a week of house sitting and coding nearly nonstop.

Almost completely caught up on emails. Finishing a short video demoing federation on Write.as, then knocking out some small feature requests in the backlog.

It's official: our first desktop app will be for Linux / FreeDesktop.org-compliant desktops.

And it's coming out this week πŸ˜€

Show older

Write.as Development's choices:

A Bunch Tell

This instance is only for A Bunch Tell projects.