Show newer

It lives!

Backend is set; now on to the last phase for : cleaning up the frontend. Includes supporting your various configurations, removing Write.as branding and paywall code still tangled up in there, and maybe shrinking down the stylesheet (not pictured here, of course).

So far so good on this -- seems like a much higher ratio of real users vs. spammers, and from what I can tell, no automated accounts getting through.

Show thread

Begrudgingly, I've added reCAPTCHA to the sign up form. This is just for now, and only for free accounts, to try and reduce the number of spam accounts being created. It's just too much work for me to keep them out manually, so I think this will help

Interactive setup / configuration process is in there now.

github.com/writeas/writefreely

This also includes validation -- something we can reuse when starting up the server, so we can be sure no invalid values are getting through and wreaking havoc on an instance.

Next:

- Update templated pages with the instance's configured name instead of "Write.as" and its metadata
- Removing template exceptions for an "official blog" (i.e. write.as/blog/)
- Adding a setup process

Was thinking about leaving a nice setup process out of v1.0, but it'll be easy to add and make onboarding / installation much nicer.

Show thread

On Write Freely again, removing code for handling sites across custom domains, subdomains, and paths. On a technical level, our blog lookup calls are now dependent on whether the blog is configured to be single- or multi-user.

A big reason for the database code refactoring is that, besides making everything cleaner / clearer, the self-hosted version will also support different database backends, like SQLite. It won't be completely ready for that when the code is released, but the groundwork will be there.

Officially, the open source version is still going to be released by the end of December. 

Unofficially I might finish it this month :)

Show thread

Good progress on Write.as open source today -- got the endpoints moved over and 2500 lines of database code migrated from global functions to struct methods. Left out all the API v1 stuff and removed paywall code.

Past 8 hours have been spent copying code, using tons of Vim macros to update everything, and build, fix errors, repeat. Now that it's compiling again, time to strip out more Write.as(the service)-specific functionality.

It's my day off, so despite the list of higher priorities, I'm going to do something relaxing: continue refactoring the web app into components.

This is a crucial step in open sourcing the platform, as it'll make the entire codebase more maintainable, and allow both the hosted and self-hosted platforms to share crucial code. It also makes the components reusable in other platforms we build, like @snap_as.

All those changes are happening now on the `develop` branch: github.com/writeas/web-core/tr

I've been spending all my time over the past few days fending these guys off (apparently I've been talking in my sleep about it). But it's all worth it because it means: no CAPTCHA or email verification when signing up (two things I detest), and keeping anonymous posting open to everyone (besides spammers).

Show thread

I'm fighting two strains of SEO spammers right now -- one repeatedly publishing anonymous posts (without signing up), and another publishing anonymous posts after creating an account.

The former is the hardest to fight -- IPs are all over the place, and no tracking means I can't mark individuals as spammers. Hence stricter spam rules.

The latter is easier. Essentially I can turn suspicious accounts into honeypots, which then waste spammers' time as they repeatedly try to publish.

Show thread

Reduced the daily post volume by 75% (down to 500) with some pretty heavy-handed spam checks. They were set up so anyone familiar with Write.as wouldn't get caught up in the filter, but 2 legitimate users did. So I've relaxed it for logged-in users.

Some of these changes also involved improvements to the admin interface for deleting problematic users. (It always blows my mind that Mastodon doesn't allow this, but) the self-hosted version of Write.as will now include these kind of admin controls for users.

Show thread

Okay, I'm finally slowing the influx of users and spam posts just by automatically marking people that use certain email domains as spammers.

Funnily enough, they don't seem to be noticing their posts are being blocked -- I'm returning a post ID that leads to a page that mercilessly trolls them for spamming the system, but they're not seeing it.

Anyway I'm pretty happy about this, as it's saving a lot of database space from being consumed with junk.

Needless to say this is the kind of junk I'd like to keep off the platform. So today has been about investigating all the crypto scams people try to spread via Write.as!

Show thread

It's always been interesting seeing what people end up using the platform for.

Today someone asked me if I offer free bitcoin, because they saw an anonymous Write.as post shared on Facebook that contained just a link to this scammy site that alleges to "exploit the blockchain" to get you free BTC.

Of course, once it runs through some pre-programmed messages equivalent to "hacking... h4ck1ng m0r3..." it says you just need to send 0.001 BTC to some address to "verify" yourself.

Also, this desktop app stuff is going to be a regular thing for other products in the suite.

I can see @snap_as being a great desktop app, and I already wanted to make native @jot_as apps -- especially since it can build off the existing Write.as app.

Got the desktop app packaged up for the , just trying to see if things are going to work with the CLI with the way everything is set up right now.

Show older

Write.as Development's choices:

A Bunch Tell

This instance is only for A Bunch Tell projects.