Node.js-based mobile/tablet-centric image gallery engine. Abandoned.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config-default.json 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "server": {
  3. "port": 8080
  4. },
  5. "database": {
  6. "host": "localhost",
  7. "port": 6379,
  8. "password": "",
  9. "prefix": ""
  10. },
  11. "salt": "",
  12. "pageSize": 15,
  13. "maxPageSize": 500,
  14. "maxSearchLength": 500,
  15. "title": "New Booru",
  16. "htmlTitle": "New Booru",
  17. "users": {
  18. "admin": {"pass": "admin", "nick": "admin", "type": "admin" }
  19. },
  20. "api": {
  21. "danbooru": true,
  22. "json": true
  23. },
  24. "frameworks": {
  25. "zeptoJS": "/static/js/zepto.min.js",
  26. "jQuery": "/static/js/jquery-1.10.0.min.js",
  27. "jQuery2": "/static/js/jquery-2.0.1.min.js"
  28. },
  29. "framework": "jQuery",
  30. "ajaxFetching": true,
  31. "lazyLoading": true,
  32. "ui": {
  33. "socialButtons": true,
  34. "showClouds": true,
  35. "showRandom": true,
  36. "skin": "default"
  37. },
  38. "images": {
  39. "optimizationEngines": [
  40. {"name": "pngout", "format": "png", "notes": "Likely the best option for PNG",
  41. "enabled": false,
  42. "path": "/usr/bin/pngout '$FILE'"},
  43. {"name": "pngcrush", "format": "png",
  44. "enabled": false,
  45. "path": "/usr/bin/pngcrush '$FILE' '$FILE'"},
  46. {"name": "jpegrescan", "format": "jpg", "notes": "Just install Perl and File::Slurp",
  47. "enabled": false,
  48. "path": "tools/jpegrescan '$FILE' '$FILE'"},
  49. {"name": "gifsicle", "format": "gif",
  50. "enabled": false,
  51. "path": "/usr/bin/gifsicle --careful '$FILE' -o '$FILE'"}
  52. ],
  53. "optimizationThreads": 1,
  54. "optimize": "all"
  55. },
  56. "tags": {
  57. "spoiler": ["spoiler"],
  58. "hidden": ["hidden"]
  59. }
  60. }