Commit Graph

100 Commits

Author SHA1 Message Date
Seednode 81d7e60d0c Restructure endpoints to be more structured, bump major version 2023-10-09 10:13:15 -05:00
Seednode c6941f1336 Rename mime types to media types, change endpoints accordingly 2023-10-09 09:47:17 -05:00
Seednode 9633239b69 Spacebar now also resumes automatic refreshing 2023-10-09 08:17:32 -05:00
Seednode f36c0cc999 Spacebar now pauses automatic page refreshing 2023-10-08 17:38:09 -05:00
Seednode 9844f4a2e1 Add new --fun flag, add comments to Type interface 2023-10-04 17:33:03 -05:00
Seednode e67752470d Add --fallback option to serve every file, even if no corresponding format is registered 2023-10-03 09:44:50 -05:00
Seednode 900b59155b Replace filepath.WalkDir() with recursive function based on os.ReadDir(), to skip unnecessary Stat() calls 2023-10-03 08:26:55 -05:00
Seednode 1d0e4634c7 Rename cache to index for more accurate terminology 2023-09-28 10:09:45 -05:00
Seednode c57bb9c4c2 Sorting now supports arbitrary numbering length, so long as it is sequential 2023-09-28 03:36:26 -05:00
Seednode 5e1a957541 Update readme 2023-09-26 05:30:39 -05:00
Seednode a1d041dedc Add flags to modify max concurrency directory and file scans 2023-09-26 03:34:50 -05:00
Seednode 55953c649b Updated readme 2023-09-25 17:06:41 -05:00
Seednode 1ed9df3932 Add log channel, add --exit-on-error option 2023-09-15 14:28:21 -05:00
Seednode ba827430bb Change --theme to --code-theme 2023-09-15 01:31:23 -05:00
Seednode 90a480fad4 Simplify caching, allow use of filters with cache 2023-09-15 01:06:52 -05:00
Seednode 5ab6d1ee85 Add custom theme support 2023-09-14 22:13:21 -05:00
Seednode 0b62009fa3 Remove debug argument 2023-09-14 21:13:12 -05:00
Seednode aaee51e9a4 Add syntax highlighting for code 2023-09-14 17:37:22 -05:00
Seednode 6b70741a68 Replace --refresh-interval flag with --refresh 2023-09-14 00:07:54 -05:00
Seednode 0e7cb2bb36 Updated readme with new usage info for --refresh-interval 2023-09-14 00:05:31 -05:00
Seednode fdd33376ce Add --prefix flag for easy reverse proxying 2023-09-13 23:24:29 -05:00
Seednode ce99374a9f Removed statistics (sorry) pending full rewrite 2023-09-13 17:02:43 -05:00
Seednode 3ea2227a9f Remove reference to supported files in readme, now available via HTTP endpoint 2023-09-12 23:41:36 -05:00
Seednode d7bc6e2451 Total restructure, just look at the diffs at this point 2023-09-12 23:35:17 -05:00
Seednode cbf7218453 Added endpoints to view registered file formats 2023-09-12 22:35:15 -05:00
Seednode 3b4f8f7499 Change back from uint64 to uint32s because no filesystem ought to ever need over 2^32 files (ZFS? What's that?) 2023-09-12 16:46:58 -05:00
Seednode e0d4b3882b Updated readme with new default argument values 2023-09-12 16:41:28 -05:00
Seednode 6fea978459 Updated readme to replace --debug with --index 2023-09-12 14:00:15 -05:00
Seednode f872d0a27e Update readme to add --flash argument 2023-09-12 13:20:38 -05:00
Seednode b29e2012d5 Remove supported format list from readme, moved into formats/ source files 2023-09-11 21:24:25 -05:00
Seednode 04ef12c19a Replaced uint32 with uint64 2023-09-11 20:02:52 -05:00
Seednode 3c21946351 Add --all flag to allow all supported file types at once; add --text flag 2023-09-11 19:11:45 -05:00
Seednode 494f9271f4 Updated readme 2023-09-10 21:08:51 -05:00
Seednode 2f1cfe28d0 Added support for toggling each of audio|image|video support 2023-09-10 21:05:35 -05:00
Seednode 32bd20522a Added audio file support 2023-09-10 21:02:03 -05:00
Seednode 8fa4a7c652 Corrected all references to image->media/file 2023-09-10 20:29:11 -05:00
Seednode 1e11515b58 Fixed typo in readme section header 2023-09-09 21:28:24 -05:00
Seednode c47ff755a5 Added readme info about --roulette 2023-09-09 21:27:57 -05:00
Seednode 8bbfd36a09 Added --russian flag, fixed issue where last image in cache would never be served 2023-09-09 20:57:50 -05:00
Seednode e4a4cb6bcd Remove unused debug statement, update usage info for --page-length 2023-09-09 19:47:44 -05:00
Seednode d2d87e010d Added --page-length flag to readme usage info 2023-09-09 00:09:26 -05:00
Seednode e4142bf832 Added --profile option to README 2023-09-08 00:51:13 -05:00
Seednode a4de013f5e Fixed link in readme 2023-09-05 10:20:04 -05:00
Seednode e93dafd08a Combined Docker repo into main repo 2023-09-05 08:22:06 -05:00
Seednode 6ff79b1817 Added option to force refreshInterval from command line, and added minimum interval of 500ms 2023-08-21 15:38:56 -05:00
Seednode 526e8e15d6 Added --maximum-files and --minimum-files flags, changed structure for stats struct 2023-08-02 13:29:37 -05:00
Seednode 1df552bc1e Updated debug endpoint paths in readme 2023-06-03 18:09:17 -05:00
Seednode abae8ba4c1 Replaced net/http with julienschmidt/httprouter and removed (broken) video support, changed stats/debug endpoints 2023-06-03 13:29:49 -05:00
Seednode 7184542cb6 Updated transitive dependencies 2023-05-11 23:22:31 -05:00
Seednode 3e1fb6be6a Added video support 2023-05-08 20:05:10 -05:00