https://github.com/binaryage/restatic
Google Docs content parser
https://github.com/binaryage/restatic
Last synced: 11 months ago
JSON representation
Google Docs content parser
- Host: GitHub
- URL: https://github.com/binaryage/restatic
- Owner: binaryage
- License: other
- Created: 2012-03-17T19:32:37.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-17T02:16:04.000Z (over 13 years ago)
- Last Synced: 2025-03-26T10:48:09.525Z (12 months ago)
- Language: CoffeeScript
- Homepage: http://restatic.binaryage.com
- Size: 371 KB
- Stars: 24
- Watchers: 9
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# [Restatic from BinaryAge](http://restatic.binaryage.com)
A command-line utility which can pump spreadsheet data to your static web!

# Technical information
## How it works
Restatic takes your static web and replaces restatic markup with dynamic data, say fields from Google Spreadsheets.
When you launch restatic, it will:
* copy the source to target directory
* extract data from Google Spreadsheets and build associative array
* process contents of target directory and replace all marks with associated fields
## You may write your own extractor
Extend the class Extractor and write function `extract` which will return the associative array with markup in key and data in value - eg. `{ "/-Posts-2B-/": "Hello world" }`
## And its installable throught NPM
`npm install restatic`