Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hogelog/ya-ftl-viewer
yet another ftl (freemarker) viewer
https://github.com/hogelog/ya-ftl-viewer
Last synced: 24 days ago
JSON representation
yet another ftl (freemarker) viewer
- Host: GitHub
- URL: https://github.com/hogelog/ya-ftl-viewer
- Owner: hogelog
- Created: 2013-05-18T13:18:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-20T17:06:29.000Z (over 11 years ago)
- Last Synced: 2023-04-13T16:16:53.792Z (almost 2 years ago)
- Language: Java
- Size: 184 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ya-ftl-viwer
For easy mock development with freemarker.## Feture
- Show freemarker (.ftl) file
- Import data from JSON
- Serve static file (js, css, png, html, …)
- Stand alone application (no servlet container)## Example
[src/test/resources/config.json](https://github.com/hogelog/ya-ftl-viewer/blob/master/src/test/resources/config.json) and [src/test/resources/web](https://github.com/hogelog/ya-ftl-viewer/tree/master/src/test/resources/web) are example.### Run with maven
```sh:
$ mvn clean compile exec:java
```
- access [http://localhost:9997/hoge](http://localhost:9997/hoge)### Run with jar
```sh:
$ mvn clean package shade:shade
$ java -jar target/ya-ftl-viewer.jar src/test/resources/config.json
```
- access [http://localhost:9997/hoge](http://localhost:9997/hoge)## Todo
- Support LiveReload
- Support YAML