| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is my first major programming project, and my first major experience with Golang, so please excuse the messiness and feel free to let me know if there are any major issues! I started out with the Golang.org Wiki guide, but after finishing that up quicker than I thought, I decided to see what other functionality I could build in... Note: I may have gotten carried away. :D
You can see it in action here.
As of 05/09/2015, the doodad has the following features:
The app expects a file named 'conf.json' in the same directory as the binary, containing the following structure. I have added comments here for clarity, so if copying and pasting, remove them:
{
//What port you want the app to listen on
"Port": "3000",
//Username of the initial admin user
"Username": "admin",
//Password of the initial admin user
"Password": "admin",
//Email of the initial admin user
"Email": "admin@main.tld",
//Directoy where images should be uploaded to
"ImgDir": "./up-imgs/",
//Directory where files should be uploaded to
"FileDir": "./up-files/",
//The domain where all functions should be
"MainTLD": "the.main.tld",
//The domain where wildcard-subdomains are used for short URLs
"ShortTLD": "short.tld",
//The domain where a feature-limited image gallery is served
"ImageTLD": "image.tld",
//The domain where all embiggened GIFs can be linked to, for easy linking
"GifTLD": "gif.tld"
}
| Back | FazBrowse Home | New Git URL |