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. https://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.
Officially, the open source version is still going to be released by the end of December.
Unofficially I might finish it this month :)
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: https://github.com/writeas/web-core/tree/develop
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).
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.
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.
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!
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.
Got the desktop app packaged up for the #elementary #AppCenter, just trying to see if things are going to work with the CLI with the way everything is set up right now.
Luckily most spammers follow similar patterns, and aren't very persistent. So every few months I get an influx and have to take a scalpel the points in the app where we accept data (posts or users), and gently block them without affecting thousands of normal users.
Again, not too difficult because spammers (especially pastebin spammers) also don't put a lot of effort into their spam. They usually have a signature.
@timapple Someone just did today, btw: https://github.com/writeas/writeas-gtk/issues/1#issuecomment-425938697
Casual dev-related updates from @write_as / @writefreely, tooted by @matt.
This account isn't super active. You might want to check out our other profiles!