Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

information

  • approximately 700gb of binaries sourced from myrient
  • serves as a lightweight local mirror, containing a wide variety of legacy console related archives
  • facilitates rapid browsing via a static file index
  • locally hosted through cloudflare tunnel, there will be downtime respecting central eastern timezone

directory structure

shortcuts

key action
/ focus search
esc unfocus search
g open global search
ctrl c clear cache
v toggle vim status
h go to /
d go to /data/
r go to the source code
navigate between files
backspace return to previous directory

global search

inside the /data/ directory, you may hit g & find fuzzy finding files to narrow your search down easier

feel free to blindly type your suggested game, or try out some of the filters i can provide you with

filter criteria action
~f query filter by file names
~d query filter by directory names
!exclusion exclude a certain directory

examples

> include both file & dir in your query
ocarina of time

> find all 'zelda' roms
~f zelda

> find every 'game boy' directory except gbc
~d game boy !game-boy-color

> both exclusions (comma chaining/separation)
> will generate the same output
~f super mario !ds,3ds
~f super mario !ds !3ds

please avoid putting a bare exclusion with no prior query, it will impact search time drastically - hence exclusion last!

downloads

  • i will temporarily open up the server when asked for - shoot me a pm @ vahrina on discord with your intention so i can filter out spam easier
  • download individual files
    wget -c "https://emu.vah.wtf/data/../[file]"

api

  • directory listings are exposed via nginx autoindex in json format @ /api/[path]
  • each entry contains: name, type, size, mtime
  • examples below demonstrating fetching all nintendo/n64/ entries

shell | print json to stdout (jq optional)

# list all entries at a path
curl https://emu.vah.wtf/api/nintendo/n64/ | jq .

# filter only files, print names + sizes
curl -s https://emu.vah.wtf/api/nintendo/n64/ \
| jq '[.[] | select(.type=="file") | {name, size}]'

browser | paste into the devtools console

// get all entries of type 'file'
fetch('/api/nintendo/n64/').then(r => r.json())
.then(entries => entries.filter(e => e.type === 'file'))

// only include 'name' & 'size' in the output
fetch('/api/nintendo/n64/').then(r => r.json())
.then(files => console.table(files, ['name', 'size']));

// or excluding a specific key value 'mtime' & 'size'
fetch('/api/nintendo/n64/').then(r => r.json())
.then(files => files.map(({ mtime, size, ...rest }) => rest))

if you'd like a cleaner table output, append following snippet at the end of the request ₍^. .^₎⟆

.then(console.table);

assets

to do's / roadmap

  • global search
  • rename /files/ to /data/
  • recursively sum the total size of the subdir contents in /data/
  • vim status bar („• ֊ •„)
    • ^ toggleable on v
  • proper caching + modal
  • help modal for shortcuts
  • expand secrets because i cant come up with any
  • helper script to download dirs (wget cant crawl index.html due to js app not being a real dir listing)
  • directories with a trailing asterik '*' to their name indicate a 1:1 100% copy of myrient's dir

About

minor fork of myrient, you will be missed

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages