{"id":15017038,"url":"https://github.com/hedho/kissmoperl","last_synced_at":"2026-03-16T22:04:09.642Z","repository":{"id":151817048,"uuid":"593990238","full_name":"hedho/KISSmoPerl","owner":"hedho","description":"KISSmo Perl Version","archived":false,"fork":false,"pushed_at":"2023-11-07T18:41:44.000Z","size":117,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T17:33:53.458Z","etag":null,"topics":["kissmo","kissmoperl","paste","pastebin","pastebin-service","pastebinalternative","pastebins","perl","perl5","self-hosted","selfhosted"],"latest_commit_sha":null,"homepage":"https://paste.hax.al","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hedho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T10:33:08.000Z","updated_at":"2023-11-07T18:53:08.000Z","dependencies_parsed_at":"2023-11-07T19:40:31.661Z","dependency_job_id":"49146609-28aa-45c9-917e-8fe0a42d4e09","html_url":"https://github.com/hedho/KISSmoPerl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedho%2FKISSmoPerl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedho%2FKISSmoPerl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedho%2FKISSmoPerl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedho%2FKISSmoPerl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hedho","download_url":"https://codeload.github.com/hedho/KISSmoPerl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318751,"owners_count":20272137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kissmo","kissmoperl","paste","pastebin","pastebin-service","pastebinalternative","pastebins","perl","perl5","self-hosted","selfhosted"],"created_at":"2024-09-24T19:49:43.344Z","updated_at":"2025-12-28T22:39:20.070Z","avatar_url":"https://github.com/hedho.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KISSmo Perl Pastebin\n\nKISSmo Perl is a lightweight and efficient pastebin application built with Mojolicious. This guide provides comprehensive instructions for setting up and running the application, including troubleshooting common dependency issues on various operating systems.\n\n---\n\n## Table of Contents\n\n* [Features](#features)\n* [Setting Up and Running KISSmo Perl](#setting-up-and-running-kissmo-perl)\n    * [Step 1: Install Required Modules](#step-1-install-required-modules)\n    * [Step 2: Create the SQLite Database](#step-2-create-the-sqlite-database)\n    * [Step 3: Run the Perl Script](#step-3-run-the-perl-script)\n    * [Step 4: Access the Application](#step-4-access-the-application)\n    * [Step 5: Test the Application](#step-5-test-the-application)\n    * [Step 6: Accessing Raw Paste Data](#step-6-accessing-raw-paste-data)\n* [Troubleshooting Common Perl Module Issues](#troubleshooting-common-perl-module-issues)\n* [Release Notes](#release-notes)\n* [Demo](#demo)\n\n---\n\n## Features\n\n* Simple and efficient paste management.\n* Uses SQLite for data storage.\n* Web interface for creating and viewing pastes.\n* Raw paste data access.\n\n---\n\n## Setting Up and Running KISSmo Perl\n\nThis guide assumes you're using a Unix-like system (e.g., Linux, \\*BSD, or macOS) and have Perl installed.\n\n### Step 1: Install Required Modules\n\nBefore running the code, you need to install the necessary Perl modules. The recommended approach is to use your operating system's package manager, as this ensures proper integration and dependency management.\n\n**General Fallback (Using `cpanm`):**\n\nIf your distribution's packages are unavailable or outdated, you can use **cpanminus**. First, ensure `cpanminus` is installed:\n\n```bash\nsudo cpan App::cpanminus # Or `sudo apt install cpanminus`, `sudo apk add perl-app-cpanminus`, etc.\n\n```\n\nThen, install the modules:\n\nBash\n\n```\nsudo cpanm Mojolicious DBI File::Slurp DBD::SQLite\n\n```\n\n**Operating System Specific Instructions:**\n\n----------\n\n#### Debian (and Ubuntu, Pop!_OS, Mint, etc.)\n\nBash\n\n```\nsudo apt update\nsudo apt install libmojolicious-perl libdbi-perl libfile-slurp-perl libdbd-sqlite3-perl\n\n```\n\n----------\n\n#### Alpine Linux\n\nBash\n\n```\nsudo apk update\nsudo apk add perl perl-mojolicious perl-dbi perl-file-slurp perl-dbd-sqlite\n\n```\n\n----------\n\n#### OpenBSD\n\n```\ndoas pkg_add perl-Mojolicious perl-DBI perl-File-Slurp perl-DBD-SQLite\n\n```\n\n----------\n\n#### Arch Linux (and Manjaro, EndeavourOS, etc.)\n\n```\nsudo pacman -Sy\nsudo pacman -S perl-mojolicious perl-dbi perl-file-slurp perl-dbd-sqlite\n\n```\n\n----------\n\n### Step 2: Create the SQLite Database\n\nThe application uses an SQLite database to store pastes. Create an empty SQLite database file named `pastes.db` and a directory for pastes in the same directory as your Perl script.\n\n```\ntouch pastes.db \u0026\u0026 mkdir pastes\n\n```\n\n### Step 3: Run the Perl Script\n\nOnce you've installed the modules and created the database file, navigate to the directory containing your script and execute the following command:\n\n```\nperl paste.pl daemon -m production -l http://0.0.0.0:7878\n\n```\n\nThis command starts the Mojolicious application as a daemon process, listening on all network interfaces on port `7878`. You should see output similar to:\n\n```\n[Sun Jun 23 12:34:56 2023] [info] Listening at \"http://\u003cyour_server_ip\u003e:7878\"\n\n```\n\n### Step 4: Access the Application\n\nOpen a web browser and visit `http://\u003cyour_server_ip\u003e:7878` to access the application. Replace `\u003cyour_server_ip\u003e` with the actual IP address or hostname of the machine running the script. You should be presented with a web page featuring a text area for content input.\n\n### Step 5: Test the Application\n\nTo test the application, enter some content into the text area and click the \"**Create paste**\" button. The application will generate a unique ID for the paste and display its details.\n\n### Step 6: Accessing Raw Paste Data\n\nTo view the raw content of a paste, navigate to its detail page and click the \"**RAW**\" button.\n\n----------\n\n## Troubleshooting Common Perl Module Issues\n\nIf you encounter errors like `Can't locate Mojolicious/Lite.pm in @INC`, `Can't locate DBI.pm in @INC`, `Can't locate File/Slurp.pm in @INC`, or `install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC`, it means the required Perl modules aren't found in your system's Perl library paths.\n\nThese issues are typically resolved by installing the missing modules. Refer to **Step 1: Install Required Modules** and use the instructions specific to your operating system. Ensure you're installing the correct package names as provided for Debian, Alpine, OpenBSD, or Arch Linux. If your system's package manager doesn't provide the module, or you need a specific version, **cpanminus** is a reliable alternative.\n\n----------\n\n## Release Notes\n\nFor detailed information about the latest version, KISSmo 1.1.9, please refer to the official release notes:\n\n[https://git.hax.al/KISSmoPerl/tag/?h=v1.9](https://git.hax.al/KISSmoPerl/tag/?h=v1.9)\n\n----------\n\n## Demo\n\nExperience KISSmo Perl in action:\n\n[https://paste.hax.al/](https://paste.hax.al/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedho%2Fkissmoperl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhedho%2Fkissmoperl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedho%2Fkissmoperl/lists"}