home.social

#mojolicious — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mojolicious, aggregated by home.social.

fetched live
  1. Whipping up an interactive, CC filter runner in . :D

  2. Woo! bible-scholar.com/ is now open for business! It's a web-app (using Argon2 auth + OpenAI + Stripe webhooks) for sifting through the 20+ Bible versions for verses or comparison, regarding a concept, thought, question, or idea. Only $2.99/mo too! Anyway, it's my humble first attempt at making something public. Yay! :D

    Simplistic utilizing driven searching.

  3. サイト管理者が心を込めて丁寧に1行ずつPerlのコードを書いてHTMLを全自動生成しつつ表示するサイトがこちらになります #Mojolicious
    ルモーリン lemorin.jp/

  4. Forum is looking much better. It still has that WWWBoard / Mr Fong Device feel but more modern-looking.

    Not sure on the full thread display yet though, it feels a bit wonky!

  5. Need to work on the layout and CSS more, but the @cryogenix Library now has image uploads which can be used using ![[markdown.jpg]] and file attachments \o/

    ed: oops, just noticed a place where it still says CyberArmy q_q

  6. So, cryogenix.org is live - a Web 1.x / JavaScript-free community platform that evolved from CyberArmy's Dinah which in turn was based on the Mr Fong Device fork of WWWboard, ie. from CGI & mod_perl 1.x (~30 years!).

    It's a mess, but that makes it the perfect project for anyone looking for experience in Perl & - though being Web 1.x is a feature, not a bug!

    As much as I like patching it for my own use, I'd love for others to contribute...

    codeberg.org/Cryogenix/naphtali

  7. A few years ago mhinz and I reimplemented CyberArmy's Dinah backend using .

    Dinah was originally written for mod_perl and somewhat based on the Mr Fong Device (which was used for CA's forum before Dinah), an early CGI Web BBS written in .

    Over the years there were plans and attempts to modernise it, first using mod_perl 2.x, then Java, but nothing materialised and CA came apart at the seams.

    1/3

  8. #DragonCon's schedule is epic—but your scrolling doesn't have to be. I wrote a 45-line #Perl script with #Mojolicious to turn 5,000+ hours of events into one clean list #WebScraping #WebDev #Coding #Programming #SoftwareDevelopment

    Scraping the Dragon with Perl ...

  9. How to deploy a #Mojolicious web app to shared web hosting with Apache and CGI?

    I’m having problems configuring ".htaccess" so that all pages are transparently handled by myapp.pl as a CGI script without revealing the CGI path and without breaking links in the app.

    See here for details:
    serverfault.com/questions/1190

    #httpd #ApacheHttpd #CGI #Perl

  10. 【宣伝】Mojoliciousに一般ユーザに作成したOpenSSLを指定する唯一の記事です。
    こう言っておけば親切な人が先駆者さんを教えてくれるに違いない。真面目な話をするとSSLのテストでA+評価を貰えるTLSの指定が書いてあります。#mojolicious #tls
    MojoliciousにTLS1.3を導入 - Perl - ルモーリン lemorin.jp/perl/42_tls1_3.html

  11. Woo! After 8 months of not getting even a single reply on an enormous amount of applications, my old contractor friend who hired me years ago to do + things, just asked me if I would to help him again. Paying rent and buying food without stress will be a good thing.

    Personal contacts and word of mouth FTW. But tossing resumes into the black hole sucks ass.

  12. @ferki @verzulli If I understand your requirements correctly, you could install a #perl version with #perlbrew on your local machine, install your required modules with #cpanm and provided libraries match between your dev and prod machines you can just copy the perl directory and run the perl with full path in the new location.
    If there is a library mismatch you are in a bit of pain to get it to work no matter what you do.
    May I suggest you build the restapi with #mojolicious?

  13. Web programmers: How many of your pet projects are running on your home network?

    (For me, it's my apps: audio-player, backup/retrieval, my partner's bible scholar interface to chatgpt, and our interactive chess app.)

  14. So I've tried to install sophisticated/complicated "local network cloud" storage apps to backup things from any device, to no avail. Bah! So I am just making my own from nuts and bolts with

    It is maybe clunky, but simple and working too:

    github.com/ology/JunkDrawer

  15. So I wrote a fortune telling tarot card app that uses openai to interpret the card spreads. I myself don't care about fortune telling at all, but I want to find someone who does and knows about Tarot, to beta test. Anyone know of anyone? 😅

  16. mildly funny log line: Mojo::File::spurt is deprecated in favor of Mojo::File::spew
    #perl #mojolicious

  17. I think about 2 years ago I had a long thread over here about updating my 10+ year old SPA (#backbonejs, , , ) to a MPA using just for frontend interactivity.

    Well, I've been way too busy to even start any of that! But, in the last couple of days I decided to go for a hybrid approach. I've added some htmx components to my single page application. My app's dashboard finally provides me with some interesting reports, powered by htmx.

    That should do for now :-).

  18. @greg Agreed. However, I do like the rainbow barfing raptor for errors. :)

  19. @ChristosArgyrop Please don’t use #RegularExpressions to parse #HTML, per this classic Stack Overflow answer: stackoverflow.com/a/1732454

    #Mojolicious’ Mojo::DOM will do a much better job and is easily used in #Perl one-liners with the cleverly-named “ojo” module: docs.mojolicious.org/ojo

    perl -Mojo -E 'g("perl.org")->dom("a[class=highlight-module]")->each( sub { say "https://", "perl.org", $_->attr("href") } )'

  20. I love revisiting an old project and find that it installs and performs as it should ( github.com/ology/App-Dashboard ). :D

  21. 単にバージョン違いかも知れないけれど、Encode::decodeとmojoliciousのMojo::Utilのdecodeの仕様が異なり、ヌル文字(0x00)を含む場合に、ヌル文字だけ無変換で返すEncode::decodeと、変換失敗として全体をundefで返すMojo::Utilのdecode、単純に置き換えれば良いやと変えないようにしましょう(変えてしまったのが運の尽き)。 #Perl #Mojolicious

  22. Woo! Makin' my , private friends & family web app (with chat, addressbook, calendar, etc.) worthy of being publicly available. A series of incarnations have served my family for 21 years now. 'Bout time to have it generate a trickle of income, I think.