Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js Rewrite #28

Open
3 of 19 tasks
corbindavenport opened this issue Oct 5, 2024 · 0 comments
Open
3 of 19 tasks

Node.js Rewrite #28

corbindavenport opened this issue Oct 5, 2024 · 0 comments
Assignees

Comments

@corbindavenport
Copy link
Owner

ImageShare is currently in the process of being rewritten as a Node.js server, replacing the original PHP codebase. The current version relies on external third-party services for image uploads and QR code generation, and the code is getting pretty messy. The work is currently being done in the node-rewrite branch.

Project Goals

  • Image uploads are handled entirely by the ImageShare server, without Imgur or ImgBB
  • QR code images are generated by ImageShare server, not the goQR.me API
  • Cleaner code with simplified Docker container structure
  • Improved documentation and installation for self-hosting
  • Seamless upgrade from previous PHP version
  • Still compatible with Nintendo 3DS, Wii U, and other legacy web browsers

Project Status

Most features in the current version will be ported to the new Node version, if not all features. The live site will be switched to the new codebase when the core functionality is available.

Current features that need to be implemented:

  • Basic web interface with two-column layout and 3DS-specific viewport fixes
  • Favicon and home screen app icons
  • Optional HTTPS support
  • Docker container
  • Optional Plausible analytics support
  • Uploading images with server-provided Imgur API key
  • Uploading images with server-provided ImgBB key
  • Uploading images with user-provided ImgBB key
  • QR code for viewing uploaded image on another device
  • Clickable link for viewing uploaded image
  • Game title detection for 3DS games
  • Button to delete uploaded image (Imgur only)
  • Cookie-based settings storage
  • Web app manifest for standalone mode on supported browsers
  • Compatibility with existing Docker configuration settings (as explained in DEV.md)

New features:

  • Uploading images with temporary server hosting
  • Officially-supported option for running without Docker
  • Uploading images permanently to external directory on server (ideal for home severs/NAS boxes)
  • Configurable upload size limit (previously Improve larger image file support #21)
@corbindavenport corbindavenport self-assigned this Oct 5, 2024
This was referenced Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant