Go based tool for searching the LBP server archive from 2024 https://zaprit.fish
  • Go 68.4%
  • HTML 24.3%
  • CSS 7.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-05 00:39:20 +01:00
cmd Many updates, image converter fixes, S3 support. 2025-03-10 00:42:00 +00:00
pkg Many updates, image converter fixes, S3 support. 2025-03-10 00:42:00 +00:00
go.mod Update hugespaceship image lib to fix decoding issue 2025-04-05 00:39:20 +01:00
go.sum Update hugespaceship image lib to fix decoding issue 2025-04-05 00:39:20 +01:00
LICENSE Create LICENSE 2024-06-19 10:57:36 +01:00
README.md Big ball of updates pt 82 2024-08-04 12:04:03 +01:00
sqlc.yaml Many updates, image converter fixes, S3 support. 2025-03-10 00:42:00 +00:00

LBPSearch

This is a search engine for the LittleBigPlanet server archive that someone published on archive.org. It supports viewing levels, viewing users, downloading levels, and adding them to be played on refresh.

It's written in go with speed in mind as nobody wants to be stuck waiting for a search to complete.

Configuration

You need only one file, lbpsearch.yaml for this to work. Here's an example lbpsearch.yaml:

# location of the cache, converted icons and level archives
cache_path: /path/to/cache/lbpsearch_cache
# global url of the server
global_url: https://zaprit.fish
# where the archive zips are, currently unused
archive_path: /path/to/dry/archive

# path to the archive_dl command required for level downloading, source can be found here https://github.com/Zaprit/lbp_archive_dl
archive_dl_command_path: /home/henry/bin/archive_dl

# Database connection settings, it's a postgres DB
database_name: lbpsearch
database_user: lbpsearch
database_password: lbpsearch
database_host: localhost
database_port: 5432
database_sslmode: disable

# Show a github sponsors message for Zaprit on search results (if you're self hosting you probably don't want this, idk)
show_sponsor_message: true

# Add something to the header of the page, for things like analytics
header_injection: |
  <script src="https://some-analytics.com/idk" />