A textboard written in Perl https://posttext.pl
Go to file
2022-09-02 21:15:31 -04:00
assets Add a hyperlink back to thread 2022-08-24 22:15:52 -04:00
lib/PostText/Model Shorten moar 2022-09-02 20:46:27 -04:00
migrations Forgot a few things here 2022-08-22 12:27:08 -04:00
t Tests for remark form 2022-08-24 21:46:20 -04:00
templates Return last remark with Remark form 2022-09-02 18:11:23 -04:00
.gitignore Ignore these stupid files c'mon 2022-08-15 18:36:52 -04:00
AUTHORS Put some files in place for later; implement a basic Mojolicious::Lite app 2022-07-22 18:37:31 -04:00
cpanfile Implement AssetPack 2022-08-15 18:35:30 -04:00
LICENSE Initial commit 2022-07-22 17:22:23 -04:00
PostText.pl Use new shortened method names 2022-09-02 21:15:31 -04:00
README.md Return last remark with Remark form 2022-09-02 18:11:23 -04:00

Post::Text

A textboard written in Perl

Installing locally

Install dependencies

cpanm --installdeps .

Running locally

Run it in development mode

morbo -w assets/css/ -w lib/ -w migrations/ -w t/ -w templates/ PostText.pl

Now try requesting http://localhost:3000

Testing

Run the tests locally (against development environment)

prove -l

TODOs

  1. Method names may need to be shortened, should use POD instead to describe their function
  2. Single remark view

Crazy future ideas

(Lord knows there's TODOs I could be working on...)

  1. Return a text response instead of HTML if a .txt extension is requested
  2. Post thread via SMS (twil.io??)