Skip to content

sonicmax/VaaS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

200 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaaS

(Vesper as a service)

Demo: http://sonicmax.github.io/VaaS

Sample response:

{ "post": "fhuuump" }

hey i wanna use this thing!

	1) Download this repo
	2 a) make free Heroku account
	
		b) create a new app, download Heroku Toolbelt and 
				install the Heroku Redis app
				
		c) follow their instructions and copy the contents of this 
				repo into the new one you just created. don't replace any files.
	
	3) go to settings page for your app in Heroku Dashboard and create these Config Variables: 
	
			USERNAME - ETI username
			PASSWORD - ETI password
			USER_ID - ETI user ID
			TOKEN - used to restrict access to certain parts of the API
			(REDIS_URL should already be there if you remembered to install the Heroku Redis app)
		
			(don't give these out to people you don't trust)
	
	4) compile sample text of sentences separated by linebreaks, 
			and upload to pastebin (bear with me here). keep the raw url handy...
	
	5) visit this URL in your browswer of choice: 
			https://myappname.herokuapp.com/pastebin?token=TOKEN&url=PASTEBIN_RAW_URL
			
			responds with:
					{ "quotes added": (boolean true/false) }
	
	7) visit https://myappname.herokuapp.com/ to see some quick output
	
	8) visit https://myappname.herokuapp.com/testbot to post in a random LUE topic
	
	9) have fun

About

Vesper as a service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors