Homebrew New Homebrew "Foil Server"?

  • Thread starter Thread starter TheTrailBlazer
  • Start date Start date
  • Views Views 4,419
  • Replies Replies 28
  • Likes Likes 9
Since I removed the encryption part, the server needs some rework. You do need me to serve the JSON file so you can read it directly with LiteFoil. I will also improve the application so it can download and update itself using the GitHub soon.
 
  • Like
Reactions: digdat0
What makes this superior to AeroFoil/CyberFoil?
Nor Superior, nor Inferior, just different. :)


I updated the server to allow thousands of files being served.
Post automatically merged:

What makes this superior to AeroFoil/CyberFoil?
aa, I have better queue.. and LiteFoil is able to access Google Drives (or any cloud) encrypted with RCLONE. So, you can have your data encrypted and safe and use it to install directly. :)
 
Last edited by ahoyallu,
  • Like
Reactions: RobZilla10001
Appears the GitHub is gone
Well, while the repository is offline, I will send the updates here. Well, while the repository is offline, I will send the updates here.

LiteFoil v22.5.3 - solved a problem related to install big XCI files.
LiteServer v1.4 - now it is possible to index thousand of files and use PROXY tunnels, like cloudflared or others. Also, I published the container on Docker HUB.

Docker-compose example:

YAML:
services:
 liteserver:
  image: ahoyc1299/liteserver:1.4
  container_name: liteserver
  environment:
   SERVER_IP: proxy.mydomain.com    # if you will use localy, change for the IP from your server
   AUTH_USER: lite
   AUTH_PASS: foi
   MOTD: "LiteServer"
   PUBLIC_BASE_URL: https://proxy.mydomain.com  # only used for env with reverse proxy
  ports:
   - 8080:8080
  volumes:
   - /my/games:/data
  restart: unless-stopped
 

Attachments

Well, I created a utility named nfi (similar to https://github.com/garoxas/NX_Game_Info), but with added support for checking NSZ, and XCZ files (NSP/NSZ/XCI/XCZ). The original tool does not support compressed files. Additionally, I reimplemented it in Go, so it can be compiled for multiple platforms. I have attached the Linux (AMD64/ARM64) and Windows versions here, along with a simple manual in PDF format. This could help to create a more organized structure for LiteServer. :P

I also added a feature I’ve always wanted: the ability to check file integrity. Expect this process to be quite slow because it scans the files deeply, though I tried to optimize it as much as possible using multi-processing. Furthermore, it allows you to use the internal information from the file itself to rename it, eliminating the need for an external titledb (such as the Tinfoil titledb). If you find any bugs, please let me know!
 

Attachments

New version of nfi, some bugs corrected. Also, here is the source of LiteFoil and LiteServer. Github don't want to recover my account, any other public git to upload it? Anyway, I attached it here.

nfi changelog:

Code:
eabf135 feat: resume checkpoint verification
8c00537 ci: update setup-go and release 1.0.12
b1d577b fix: preserve colon in canonical names on Unix
4ffc2a1 fix: accept NCZ sections before 0x4000
3bf1ac8 fix: report DLC PublicData signature
7d0ae99 fix: continue secure rename in directories

LiteFoil v22.5.4 now have covers and the download speed was improved a little. :)
 

Attachments

Site & Scene News

Popular threads in this forum