deck: github.com/ajstarks/deck/cmd/sex Files

Command sex

sex is a server program that provides an API for slide decks. Responses are encoded in JSON. To install:

go get github.com/ajstarks/deck/sex

Command line options control the working directory and address:port

-listen Address:port (default: localhost:1958)

-dir working directory (default: ".")

-maxupload maximum upload size (bytes)

GET / lists the API

GET /deck lists information on content, (filename, file size, modification time) in JSON

GET /deck?filter=[type] filter content list by type (std, deck, image, video)

POST /deck/file.xml?cmd=[duration] starts up a deck; the deck, duration, and process id are returned in JSON

POST /deck?cmd=stop stops the running deck

POST /deck/file.xml?slide=[num] start at the specified slide

DELETE /deck/file.xml removes a deck

PUT or POST to /upload uploads the contents of the Deck: header to the server

POST /table with the content of a tab-separated list, creates a slide with a formatted table, the Deck: header specifies the resulting deck file

POST /table/?textsize=[size] -- specify the text size of the generated table

POST /media plays the media file specified in the Media: header

sex: slide execution

Package Files

doc.go sex.go

Package main imports 18 packages (graph). Updated 2016-07-16. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).