PixelFox

module
v0.0.0-...-044368a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2025 License: AGPL-3.0

README

PixelFox

The official PixelFox.cc repository. This is work in progress. This project is more of a feasibility study and is intended for learning purposes.

PixelFox is an image sharing platform. Its build with the following technologies:

Tech Stack

  • Infrastructure:
    • Docker v27.3
    • GoLang v1.23
    • MySQL v8.4
    • Dragonfly Cache
  • Backend:
  • Frontend:
    • HTML, HTMX, Hyperscript, Javascript, CSS
    • TailwindCSS & DaisyUI
    • SweetAlert2

Already Done

  • setup basic dev env with Docker
    • GoLang Container
    • MySQL Container
    • Dragonfly Cache Container
    • PHPMyAdmin Container
  • DEV env setup
  • PROD env setup
  • Run air (for HotReload) & templ generate --watch in one container with supervisord
  • Create templates for index, login, register, contact, about, news, jobs, api
  • Prepare API page and include Swagger & OpenAPI UI (github.com/go-openapi)
  • User Authentication login & logout
  • User Registration

ToDos

  • [] Image viewer page with:
    • [] with download button
    • [] with like button
    • [] with comment form and list of comments
    • [] for image owner only: delete button
    • [] for image owner add tags and description
  • [] User Profile page
  • [] User Settings page
  • [] DB Schema & Models
  • [] Basic image upload
  • [] Store image information to DB (also image meta data)
  • [] Share images via link
  • [] Use Open Graph Meta-Tags (OG-Tags) for the image view page
  • [] Store images to B2 or other S3 services (or we use juicefs)
  • [] Admin Area

Packages

Basic

Price: 0 EUR

  • Single Upload
  • 5 MB upload limit
  • 100 images per day
  • files never expire
  • Dark Mode
  • Ads
Premium

Price: 5 EUR

  • Multi Upload
  • 50 MB upload limit
  • unlimited images per day
  • 100 image galleries
  • webp image conversions
  • files never expire
  • no Ads
Premium Max

Price: 10 EUR

  • Multi Upload
  • 100 MB upload limit
  • unlimited images per day
  • unlimited image galleries
  • webp & avif image conversions
  • files never expire
  • no Ads

Directories

Path Synopsis
app
cmd
migrate command
pixelfox command
internal
api/v1
Package apiv1 provides primitives to interact with the openapi HTTP API.
Package apiv1 provides primitives to interact with the openapi HTTP API.
templ: version: v0.3.943
templ: version: v0.3.943
admin_views
templ: version: v0.3.943
templ: version: v0.3.943
auth
templ: version: v0.3.943
templ: version: v0.3.943
email_views
templ: version: v0.3.943
templ: version: v0.3.943
error
templ: version: v0.3.943
templ: version: v0.3.943
pages
templ: version: v0.3.943
templ: version: v0.3.943
partials
templ: version: v0.3.943
templ: version: v0.3.943
report
templ: version: v0.3.943
templ: version: v0.3.943
upload
templ: version: v0.3.943
templ: version: v0.3.943
user
templ: version: v0.3.943
templ: version: v0.3.943

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL