A fork of hyde, the static site generation. Some patches will be pushed upstream.
 
 
 

113 lines
2.8 KiB

  1. ===
  2. title: Overview
  3. subtitle: hyde in a nutshell
  4. created: 2011-01-25 21:31:03
  5. ===
  6. §§ blurb
  7. Hyde is a static website generator written in python. While Hyde took
  8. life as [awesome Jekyll][Jekyll]'s [evil twin][], it has since been
  9. completely consumed by [the dark side][python] and has an
  10. [identity of its own][hydeid].
  11. Hyde desires to fulfill the lofty goal of removing the
  12. [pain points][static cons] involved in creating and maintaining
  13. [static websites][static pros].
  14. §§ /blurb
  15. ## Spotlight
  16. * Support for powerful template languages like [Jinja2][] complemented
  17. with custom tags and filters.
  18. * Rich [object model][] and
  19. overridable hierarchical [metadata][] thats available for use in
  20. templates.
  21. * Configurable [sorting, filtering and grouping][sorter] support.
  22. * Extensible [plugin architecture][plugins] with Text preprocessing and html
  23. postprocessing support for complex content transformations.
  24. * Instant preview using built-in [webserver][server] that regenerates content
  25. if needed.
  26. ## Install
  27. There will be a package soon on pypi, but this works for now:
  28. ~~~sh~~~
  29. pip install -e https://github.com/hyde/hyde#egg=hyde
  30. ~~~~~~~~
  31. You can find more detailed documentation in the
  32. [installation section][install].
  33. ## Run
  34. After installation is successful, creating & generating your website is
  35. extremely simple.
  36. To create a new hyde website:
  37. ~~~sh~~~
  38. hyde -s /path/to/your site create
  39. ~~~~~~~~
  40. To generate the website:
  41. ~~~sh~~~
  42. cd /path/to/your/site
  43. hyde gen
  44. ~~~~~~~~
  45. To run the built in webserver that autogenerates if needed:
  46. ~~~sh~~~
  47. hyde serve
  48. ~~~~~~~~
  49. You can access the website now at `http://localhost:8080`
  50. For all the supported options, read the [command line documentation][commandline]
  51. or run `hyde -h`.
  52. ## Source
  53. Hyde is [socially coded][hyde]. Feel free to [fork][forking].
  54. ## Project Roadmap
  55. 1. Support for Django and Mako
  56. * Template implementation
  57. * Default layouts
  58. 2. Support for other markup languages
  59. * restructured text
  60. * textile
  61. * asciidoc
  62. 3. Text Compression
  63. * Slimmer
  64. * pre-gzipping
  65. * uglifyjs
  66. 4. Image Manipulation
  67. * Optipng Compression
  68. * Thumbnail generation
  69. * Photo Data Extraction
  70. 5. Feed / Listing generation
  71. 6. Translation
  72. [hydeid]: http://groups.google.com/group/hyde-dev/web/hyde-1-0
  73. [Jekyll]: http://jekyllrb.com
  74. [evil twin]: http://ringce.com/blog/2009/introducing_hyde
  75. [Jinja2]: http://jinja.pocoo.org/
  76. [object model]: [[template/#variables]]
  77. [hyde]: https://github.com/hyde/hyde
  78. [install]: [[install]]
  79. [metadata]: [[plugins/metadata]]
  80. [plugins]: [[plugins]]
  81. [python]: http://python.org
  82. [server]: [[server]]
  83. [sorter]: [[plugins/sorter]]
  84. [static cons]: [[static/#cons]]
  85. [static pros]: [static/#pros]]
  86. [forking]: [[contribute]]
  87. [commandline]: [[commandline]]