#mojolicious — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #mojolicious, aggregated by home.social.
-
Woo! https://bible-scholar.com/ is now open for business! It's a #Perl #Mojolicious 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
-
Woo! https://bible-scholar.com/ is now open for business! It's a #Perl #Mojolicious 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
-
サイト管理者が心を込めて丁寧に1行ずつPerlのコードを書いてHTMLを全自動生成しつつ表示するサイトがこちらになります #Mojolicious
ルモーリン https://www.lemorin.jp/ -
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!
-
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
-
So, https://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 #Perl & mod_perl 1.x (~30 years!).
It's a mess, but that makes it the perfect project for anyone looking for experience in Perl & #Mojolicious - 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...
-
A few years ago mhinz and I reimplemented CyberArmy's Dinah backend using #Mojolicious.
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 #perl.
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
-
#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 ... -
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:
https://serverfault.com/questions/1190950/setup-mojolicious-app-transparently-via-cgi-with-apache-mod-rewrite -
【宣伝】Mojoliciousに一般ユーザに作成したOpenSSLを指定する唯一の記事です。
こう言っておけば親切な人が先駆者さんを教えてくれるに違いない。真面目な話をするとSSLのテストでA+評価を貰えるTLSの指定が書いてあります。#mojolicious #tls
MojoliciousにTLS1.3を導入 - Perl - ルモーリン https://www.lemorin.jp/perl/42_tls1_3.html -
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 #Perl + #Mojolicious 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.
-
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 #Perl + #Mojolicious 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.
-
@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? -
OpenFaaS Perl Mojolicious template - https://github.com/tschaefer/openfaas-perl-mojo-template
#openfaas #perl #mojolicious -
@profoundlynerdy you could build it all with #mojolicious #perl
-
@profoundlynerdy you could build it all with #mojolicious #perl
-
Web programmers: How many of your pet projects are running on your home network?
(For me, it's my #Perl #mojolicious apps: audio-player, backup/retrieval, my partner's bible scholar interface to chatgpt, and our #Django interactive chess app.)
-
Web programmers: How many of your pet projects are running on your home network?
(For me, it's my #Perl #mojolicious apps: audio-player, backup/retrieval, my partner's bible scholar interface to chatgpt, and our #Django interactive chess app.)
-
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 #Perl #mojolicious
It is maybe clunky, but simple and working too:
-
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 #Perl #mojolicious
It is maybe clunky, but simple and working too:
-
So I wrote a #Mojolicious #perl 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? 😅
-
So I wrote a #Mojolicious #perl 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? 😅
-
mildly funny log line:
Mojo::File::spurt is deprecated in favor of Mojo::File::spew
#perl #mojolicious -
mildly funny log line:
Mojo::File::spurt is deprecated in favor of Mojo::File::spew
#perl #mojolicious -
@jesse #Mojolicious has both #Perl (https://mojolicious.org) *and* #TypeScript (https://MojoJS.org) flavors now
/cc @mojolicious
-
I think about 2 years ago I had a long thread over here about updating my 10+ year old SPA (#backbonejs, #javascript, #perl, #Mojolicious) to a MPA using just #htmx 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 :-).
-
I think about 2 years ago I had a long thread over here about updating my 10+ year old SPA (#backbonejs, #javascript, #perl, #Mojolicious) to a MPA using just #htmx 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 :-).
-
@greg Agreed. However, I do like the #Mojolicious rainbow barfing raptor for errors. :)
-
@greg Agreed. However, I do like the #Mojolicious rainbow barfing raptor for errors. :)
-
@ChristosArgyrop Please don’t use #RegularExpressions to parse #HTML, per this classic Stack Overflow answer: https://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: https://docs.mojolicious.org/ojo
perl -Mojo -E 'g("perl.org")->dom("a[class=highlight-module]")->each( sub { say "https://", "perl.org", $_->attr("href") } )'
-
@ChristosArgyrop Please don’t use #RegularExpressions to parse #HTML, per this classic Stack Overflow answer: https://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: https://docs.mojolicious.org/ojo
perl -Mojo -E 'g("perl.org")->dom("a[class=highlight-module]")->each( sub { say "https://", "perl.org", $_->attr("href") } )'
-
So, I'm thinking about something akin to #Java's Spring for Perl. Bits and pieces are there but not combined or not everything exists AFAICT. Not sure about runtime penalties.
i.e.: some pseudo code like:
get '/foo' => sub #Mojolicious + Moo
:ReturnType(Int) # Return::Type + Types::Standard
:Throws(SomeException) # does not exist, could be based on Throwable::Factory
( $c ) # new signatures in recent #Perl
{
# Automatic #OpenApi v3 generation, etc API calls stay the same
} -
I love revisiting an old project and find that it installs and performs as it should ( https://github.com/ology/App-Dashboard ). :D
-
I love revisiting an old project and find that it installs and performs as it should ( https://github.com/ology/App-Dashboard ). :D
-
単にバージョン違いかも知れないけれど、Encode::decodeとmojoliciousのMojo::Utilのdecodeの仕様が異なり、ヌル文字(0x00)を含む場合に、ヌル文字だけ無変換で返すEncode::decodeと、変換失敗として全体をundefで返すMojo::Utilのdecode、単純に置き換えれば良いやと変えないようにしましょう(変えてしまったのが運の尽き)。 #Perl #Mojolicious
-
Woo! Makin' my #perl #mojolicious, 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.
-
Woo! Makin' my #perl #mojolicious, 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.
-
@getimiskon @segnwrisastoika Here’s a good article on current alternatives to the old #Perl CGI.pm module: https://metacpan.org/pod/CGI::Alternatives
tl;dr: You can write less code and eventually scale up to handle more traffic if you use a framework like #Mojolicious or #Dancer2. But if you must stick to #CGI, consider https://metacpan.org/pod/CGI::Tiny
And if you haven't yet, follow https://chirp.social/@Perl to talk with nearly 500 other Perl users across the fediverse.
-
Ok. I finally found the svg webcomponent code to make a knob (potentiometer). I am going to now make a generic, #mojolicious web user interface (in my #Perl https://metacpan.org/dist/Synth-Config module) to keep track of - and *share* images of your synth settings. No more photographs with confusing highlights, etc.
Yay holiday projects! 😅
-
@nixCraft #Perl has stellar backward compatibility. I wouldn’t be surprised if a decently-written #Mojolicious 4 web app written for Perl v5.18 from 2013 could run unchanged with Perl v5.38.2 from 2023.
-
Currently my "Grandma Portal" is working on my Mac. But I'll have to change the launching to .exe when my 96 year old grandma's Windows machine arrives. https://github.com/ology/Grandma-Portal #perl #mojolicious
-
Making a 1-stop portal page for my 96 year old grandma, who uses her Windows computer, but can't remember a lot of details any more... Like where things are, and what tiny thing to click. Using large Bootstrap buttons to open new tabs to her gmail, etc., to launch her LibreOffice, to open her Documents and Downloads folders, etc. All done with Strawberry #perl and #mojolicious of course. 😅
-
@negative12dollarbill @Npazo @ovid Yah, I am also working with a very mod_perl-dependent app with handlers galore. The CTO has long had vague ambitions to move to #Mojolicious but that's all they are.
-
@julie I use the #Mojolicious modules, Mojo::UserAgent + Mojo::DOM for web scraping in #Perl. Makes it so easy. 😀
-
Creating a simple chat application using #perl #mojolicious framework. Shows both the front and the back end.
In short, it's dead easy.
-
@ajaxStardust It wasn’t a cinch. I don’t work with #JavaScript daily and I’ve never used #Mojolicious’ JS version. And the last time I wrote anything for #NodeJS in anger was 2019.
-
@jan https://convos.chat/ maybe? Though it's for your browser... #Perl #Mojolicious
-
@danjac I still have a couple of SPA’s to manage that are about 9-10 years old. Written in #CoffeeScript 1 (not too bad) and #BackboneJS with a #Perl #Mojolicious backend.
Getting to run the JS dev stuff and keeping it up to date, or rather working with a newer Node version is challenging. Looking back it being a SPA doesn’t do much for 85% of these apps. I should’ve used some #jQuery instead for the interactive parts. That way I could’ve moved to #htmx without any issue.
-
So I've been recreating my 30 year old "Family Site" as a #perl #mojolicious app with an #sqlite backend with Argon2 password encryption. It needs some TLC before it can be fully "production ready." But it works! If anyone has a family that might like a private place to share, msg me. 🙂
-
Whew. Ok now I can manage my #Moog settings with https://metacpan.org/dist/Synth-Config + https://github.com/ology/Synth-Config/blob/main/eg/mojo-ui.pl = #Perl + #Mojolicious
-
Ok. I have made a program that tediously steps through each synth setting parameter. And there are hundreds... Ugh. Now am attempting to make a rudimentary CRUD form in #perl #mojolicious, to display a collection of common settings, as with a modular synthesis module (oscillators, filters, etc.). Soon I may have something useful and worthy of a screenshot...