torchchat
torchchat copied to clipboard
Self-documenting repo: Too many files and folders in root directory
🚀 The feature, motivation and pitch
The repo quite doesn't pass the smell test for being an example in that the number of files and folders in root are too many. A lot of times, repos are self-documenting, by keeping the file/folder structure simple.
I couldn't find ton of scope for files, but I think:
- I think
requirements-lintrunner.txt
can go somewhere else. - It was annoying that
export.py
literally had no export logic and was pointing to a full folder of files.- I think
export.py
should just have two functions,export_edge
andexport_server
, and all logic we need should be in-lined there, instead of the reader having to jump across multiple files. Also, theexport_edge
code should be simplified (right now its across 3 or 4 files, not sure what its doing).
- I think
The folders are just too many. We should try to get down to 4 root folders that make sense?
Alternatives
No response
Additional context
No response
RFC (Optional)
No response