Entry tags:

[admin post] [sticky entry] Admin Post: Sticky: Welcome!

This came about because of discussions on the Fandom Coders discord server and in some comment threads on [community profile] fail_fandomanon about creating a space on Dreamwidth where people could discuss and collaborate on fannish projects. Have a look at our general rules on the profile page, and have fun!

One last Hail Mary

I don’t know anything about coding, but I’m posting this here in the hope that someone who does will have pity on me.

Last year, I found this user script (no name/contact info or even a date) for hiding Dreamwidth comments from blacklisted users. It works, but replies to the comments aren’t hidden, and I would like them to be.

Please help me?
kalloway: strands of multicolor christmas lights (Xmas Lights 29 Unparallel)
[personal profile] kalloway2024-08-27 09:26 pm

SmallWeb & Small Web September

I suspect the venn diagram of this community and [community profile] smallweb is pretty much a circle, but just in case...

[community profile] smallweb is going to be hosting Small Web September, which is a low-commitment challenge to work on a (fannish/non-fannish/other) smallweb project of choice during the month of September.
luckyzukky: tomoe hotaru AKA sailor saturn from sailor moon (sm | saturn #1)
[personal profile] luckyzukky2024-06-01 07:41 pm

porting otw-archive's deprecated image library to active storage: tutorial

hi hello i'm back to be more annoying about otw-archive! in 2 days i single-handedly ported my instance of otw-archive (the ao3 code) - superlove - from paperclip, its deprecated and obsolete image library, to active storage, the newer and officially supported first party image library for ruby on rails. it was extremely hard work but i'm very proud of it and i'm happy to say that i've written a guide on how i did it!

i'd be more than happy to help anyone who plans on implementing active storage in otw-archive. it was so so hard and i couldn't have done it without the help of kind strangers online who've done this migration before, and friends who stuck by me as i complained about it during the process, hahaha.

moving otw-archive from paperclip to active storage, AKA: hell
sophia_sol: photo of a 19th century ivory carving of a fat bird (Default)
[personal profile] sophia_sol2024-04-17 11:31 am
Entry tags:

hosting a bookmarking instance

Recently, out of frustration with the bookmarking sites available these days (rip delicious from long long ago, we still miss ye), I learned that it's possible to self-host a bookmark manager, and that Linkding, one such manager, seemed to have the features I need and be relatively easy to set up. And I like the idea of being able to control my own bookmarks like this, instead of depending on the whims of whoever owns the online service I'm using.

I'm a newbie to this kind of thing so I was intimidated going in, but last night I learned the magic of setting up one's own website using a vps, and I got an instance of linkding working on it and my bookmarks imported, and now I am hosting my very own personal bookmarking manager for all my many years of fannish bookmarks!

To get this done, I used the following instructions:

The "start a website" steps at https://landchad.net/

And then the linkding instructions here: https://www.maketecheasier.com/create-own-bookmark-manager-with-linkding/

It definitely involved some moments of deep confusion, but I figured it out eventually, and I'm super happy with the result! You can see my public bookmarks here: https://linkding.aviansoph.com/bookmarks/shared

I'm not done playing around with it at this point. I would be interested in figuring out how to customize the appearance a bit more. Linkding does have a field for custom CSS within a user account, which works nicely, but the changes that creates only show for the user, rather than being site-wide for anyone viewing my bookmarks.

If anyone has suggestions (or detailed instructions!) of what I should be looking into in order to make my customizations more broadly applicable on my instance of linkding, I'd very much appreciate it, as I really don't know what I'm doing lol. I want to learn more about how to understand what I'm doing with this website stuff!
luckyzukky: yamazaki mei from morning musume (mm | meichan #1)
[personal profile] luckyzukky2024-04-09 11:43 am

tutorial for deploying otw-archive (ao3) through docker

hey! [personal profile] bluedreaming told me about this comm and i am very grateful because, while the only kinda code i know is html/css and i suck at everything else, i AM very passionate about self hosting and servers and shit, and one of my nerdiest stupidest flexes is that i am the third person in the world to push otw-archive (ao3's code) into production for a public website! that site is superlove and i am very proud of it.

but the real reason why i'm posting: the other day i was messing around with a docker deployment of otw-a, because superlove was done bare metal, and i managed to successfully deploy otw-a in production through docker. and i'm insanely proud that i managed it and i wrote a whole guide on how to do it, because i documented through my first attempt, then started from scratch when i was done and went through it ALL over again to test my documentation, and both times worked!

the guide is on superlove here. i hope people find it helpful! thank you!

(no subject)

Hello! I recently found this extremely useful Dreamwidth User Blocker script that has no name/contact info listed. Firstly, if you’re the mystery person who made this, BLESS YOU. Secondly, I would like to be able to edit the script so that it also hides replies to blacklisted comments, but I don’t know where to start. Help?
Entry tags:

Seeking beta testers: ao3downloader, GUI version

Some people here may already be familiar with [github.com profile] nianeyna's ao3downloader project. I've been teaching myself GUI design and how to build Python standalone distributables using it as a base, and I finally have something that is in a testable state.

At the moment, this is Windows-only - specifically, it was built on Windows 10, and per the PyInstaller docs, may not work on earlier Windows versions if you don't have the Windows updates with support for the Visual Studio 2015 run-time installed. If there's interest I can try to do a more complex build that includes the runtime files in the package.

I can also compile a build for Linux, if there's interest, though let me know what Linux version you're using. Unfortunately for OSX users, the build tool requires building on the operating system you're targetting, and I do not an OSX machine.

You do not need Python preinstalled. If you've used the commandline version of ao3downloader, you can copy your settings.json file and log/ and download/ folders into the unzipped GUI folder and it should use those as a base for various commands, the same way the CLI version does.

Also, when you try to run ao3downloader.exe, Windows may give you a warning that it's untrusted software, which is because I don't have a Windows codesigning certificate. You should be able to click 'More Info' and then have a 'Run Anyway' button appear.

The file package is available here - I'm open to feedback both about stuff that doesn't work the way it should, and UI organization/labelling (though - some of the ugliness of the UI is part of the UI package I'm using and thus cannot be changed, unfortunately)

Edit, July 24th: Link now points to an updated build that should crash significantly less, lol. Also now available for Linux though unfortunately with un-antialiased Courier New as the font (still working out how to get a build environment that'll be compatible with as many Linux distros as possible)
Entry tags:

Ao3 Kobo reader app

Some discussions around Ao3-related coding projects reminded me that I had this on the backburner, lol. Basically it's an interface for Ao3 on Kobo ereaders, so you can read fics without having to download the files and transfer them to your device. It's based on the Plato reader, and at this point is generously what I'd call late alpha/early beta - the core 'read fic' functionality works but it's missing a lot of ways of browsing I want to add, and there's a couple of pretty big UI bugs (jumping to to an index page doesn't work, and in the extended work blurb view, anything past the first page doesn't render properly).

But! I am generally more motivated to work on things when they aren't just for me, and could always use more testers (and, perhaps, I am not the only Rustacean here....?). There are install instructions on my journal here, and all the past posts I've made about this are tagged on my journal.
kalloway: A close-up of Rocbouquet from Romacing SaGa 2 (SaGa Roc 6)
[personal profile] kalloway2023-07-10 09:13 am
Entry tags:

CSS Help and an Offer

Back in 2003, I took a short uni course on web design and on the last day, we learned a tiny bit of CSS and by 'learned', I mean I have it in a notebook and up until yesterday I ignored it entirely.

Yesterday I realized I need to start learning CSS, which I'm now doing via various tutorials. I have achieved backgrounds and am working a bit on fonts. I'm also getting the gist of other parts I'm looking at even if they're not bits I need. However-

What I'd like to know is the best way to make an index of fandoms similar to how my collection functions on AO3. Two or three columns, and if I add a new fandom in, everything just shifts to the next spot and I don't need to manually move anything around, if possible. I've looked over tutorials on both columns and grids and didn't quite see anything that did this?

So if anyone can point me in the direction of what I'm after, if it's possible, or an example snippet, I'd be exceptionally grateful. Thanks so much in advance. ^_^

In return, an offer for anyone interested. I'm [archiveofourown.org profile] Kalloway and have just under 2500 works posted across more than 200 fandoms. For anyone working on any small archive projects of any sort who want something that's not lorem ipsum or their own stuff, go ahead and use my works to build/test/stress-test/whatever. It's cool. (Let me know if you'd like, but you don't have to!)
Entry tags:

[admin post] Admin Post: Tags

Realized I am Too ADHD to reliably add new tags for stuff myself, so members can add new tags as well. I'll probably try to go in every few weeks and standardize/clean up stuff, and if it starts getting out of control, I may revert the setting back, but for now, have fun :)
cmdonovann: self portrait (Default)
[personal profile] cmdonovann2023-07-06 10:46 am

Looking for Javascript advice

So, I'm trying to set up a little fanfiction archive for a tiny fandom that only has around 60 fics total. I would like to be able to sort these fics by a couple of categories: length (sorting shortest to longest), rating (sorting lowest to highest), ship (sorting ships alphabetically and by date within each ship category), completion (showing only completed fics in order of recency), and just a list of all the fics from oldest to newest.

Since I'm currently hosting this on Neocities, and there really aren't that many fics, my current solution is to just hard-code each category's list myself, and then have a little javascript to toggle between each list/sorting method. However, in the interest of making this project easier to maintain in the future, I am interested in eventually setting up a script that actually does this sorting for me, rather than having to hardcode each list individually myself. Is there a way to set custom parameters/tags of some kind to sort a list of items using javascript? (To be clear, I'm a total javascript noob, so if this question seems obvious or is worded badly, that's why.)

Example: for sorting fics by length, I would want to be able to give each fic a "length in words" attribute, then have a script that sorts and displays them from shortest to longest. For displaying all of the fic, I would want to be able to give each fic a "date published" attribute to sort from oldest to newest. For completion I would use the date attribute to sort them oldest to newest as well, but additionally filter out any that are marked as "unfinished" somehow? But I'm not sure how to practically do all this.

Any and all advice on javascript is welcome! Advising me to use something else will probably be ignored, because the entire purpose of doing it this way is to force myself to get better at javascript XD thanks for understanding!
Entry tags:

Let's Make a Fansite!

Hope it's okay to do a promo here since it's related

I wrote a book on creating a fansite and it's currently 50% on the itch Summer Sale! If you need some help populating your fansite, please check it out! There's also community copies for those who can't afford it.

I also have a set of macros for getting twitter threads off of twitter which I developed for archiving my livetweets! It's free for anyone who needs it as twitter continues to implode. You can see my liveblogs over on my site!

I really love seeing everyone's stuff when they do so I can see all the fandoms ;w;
Entry tags:

kudoscript 1.0

hello!! i hear some people have missed people being able to kudos their stuff when putting fic on dreamwidth

anyway i wrote some code and it is very barebones and requires either a little sysadmin knowledge OR a PHP server on which you can have someone make sure the Imagick and SQLite extensions are installed! But it gives you the ability to drop in a little kudos counter and a link to give kudos anywhere you want for as many unique things as you want.

you can find it here! free to use & modify and do whatever you want with, basically; i aggressively commented it so that it's easy to understand if you want to hack on it.
Entry tags:

Proposing custom music metadata

Hey does anybody know stuff about audio track metadata?

I've had an idea rattling around in my head for a while but didn't have an easy and community-based way to organize my thoughts about it. So I am really pleased to see a DW fan coding community pop up! I not only welcome but plead for input on this concept:

I want to build a way to create custom tags on music files.

You know how you can sort by artist, album, year published, and all that, because those are categories embedded in ID3 metadata? I wish ID3 metadata allowed for custom categories. I want to be able to sort my music collection by color, mood, character, and fanfiction trope, to name a few. I think this has huge potential in being able to easily make playlists, fandom or otherwise, that flow smoothly and center around a common theme.

More details below the cut-- come chat with me! )

Entry tags:

[admin post] Admin Post: Tag Request Post

To keep things organized, while anyone can apply tags to entries, only admins can create new ones. If you're missing a tag you'd like to use, please leave a comment here with the tag (and the entry you need it put on, once it's created).
Entry tags:

Resources for getting involved with Dreamwidth