This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Twitter Bootstrap - Clearer homepage - Automated builds - Navigating to rooms with bad IDs redirects home - Removed generated files - Removed dependencies - devs can install those with `grunt `
- Loading branch information
1 parent
2f966b6
commit b6b5865
Showing
16 changed files
with
297 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,12 @@ lib-cov | |
pids | ||
logs | ||
results | ||
.DS_Store | ||
|
||
npm-debug.log | ||
node_modules | ||
data | ||
.sass-cache | ||
build/ | ||
lib | ||
public/bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
module.exports = function(grunt) { | ||
|
||
grunt.initConfig({ | ||
|
||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
concat: { | ||
dist: { | ||
src: [ | ||
'pubic/javascripts/libs/*.js', | ||
'public/javascripts/*.js' | ||
], | ||
dest: 'public/javascripts/build/production.js', | ||
} | ||
}, | ||
|
||
uglify: { | ||
build: { | ||
src: 'public/javascripts/build/production.js', | ||
dest: 'public/javascripts/build/production.min.js' | ||
} | ||
}, | ||
|
||
sass: { | ||
dist: { | ||
options: { | ||
style: 'compressed' | ||
}, | ||
files: { | ||
'public/css/build/global.css': 'public/scss/main.scss' | ||
} | ||
} | ||
}, | ||
|
||
watch: { | ||
scripts: { | ||
files: ['public/javascripts/*.js', 'public/javascripts/libs/*.js'], | ||
tasks: ['concat', 'uglify'], | ||
options: { | ||
spawn: false, | ||
livereload: true, | ||
}, | ||
}, | ||
|
||
css: { | ||
files: ['public/scss/*.scss'], | ||
tasks: ['sass'], | ||
options: { | ||
spawn: false, | ||
livereload: true, | ||
} | ||
} | ||
}, | ||
|
||
curl: { | ||
bootstrap_css: { | ||
src: 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css', | ||
dest: 'public/lib/bootstrap/css/bootstrap.min.css' | ||
}, | ||
|
||
bootstrap_js: { | ||
src: 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js', | ||
dest: 'public/lib/bootstrap/js/bootstrap.min.js' | ||
} | ||
}, | ||
|
||
nodemon: { | ||
dev: { | ||
options: { | ||
file: 'app.js', | ||
watchedFolders: ['routes'], | ||
nodeArgs: ['--debug'], | ||
env: { | ||
PORT: '3000' | ||
} | ||
} | ||
} | ||
} | ||
|
||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-concat'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-sass'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-curl'); | ||
grunt.loadNpmTasks('grunt-nodemon'); | ||
|
||
grunt.registerTask('default', ['concat', 'uglify', 'sass', 'imagemin', 'curl']); | ||
grunt.registerTask('update', ['curl']); | ||
grunt.registerTask('dev', ['watch']); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
{ | ||
"name": "Wordcast", | ||
"version": "0.0.1", | ||
"description": "A real-time captioning service over Google Chrome and Socket.IO", | ||
"author": "A11yProject", | ||
"contributors": [ | ||
{ | ||
"name": "Jordan Foreman", | ||
"email": "me@jordanforeman.com" | ||
} | ||
], | ||
"private": true, | ||
"scripts": { | ||
"start": "node app.js" | ||
}, | ||
"dependencies": { | ||
"express": "latest", | ||
"jade": "latest", | ||
"socket.io": "latest" | ||
}, | ||
} | ||
"name": "wordcast", | ||
"version": "0.0.1", | ||
"description": "A real-time captioning service over Google Chrome and Socket.IO", | ||
"author": "A11yProject", | ||
"contributors": [ | ||
{ | ||
"name": "Jordan Foreman", | ||
"email": "me@jordanforeman.com" | ||
} | ||
], | ||
"private": true, | ||
"scripts": { | ||
"start": "node app.js" | ||
}, | ||
"dependencies": { | ||
"express": "latest", | ||
"jade": "latest", | ||
"socket.io": "latest" | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-sass": "~0.6.0", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-uglify": "~0.2.7", | ||
"grunt-contrib-imagemin": "~0.4.0", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-curl": "~1.2.1", | ||
"grunt-nodemon": "~0.1.2" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
@font-face { | ||
font-family: 'wordcast'; | ||
src:url('../../fonts/wordcast.eot'); | ||
src:url('../../fonts/wordcast.eot?#iefix') format('embedded-opentype'), | ||
url('../../fonts/wordcast.woff') format('woff'), | ||
url('../../fonts/wordcast.ttf') format('truetype'), | ||
url('../../fonts/wordcast.svg#wordcast') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
[class^="icon-"], [class*=" icon-"] { | ||
font-family: 'wordcast'; | ||
speak: none; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
text-transform: none; | ||
line-height: 1; | ||
|
||
/* Better Font Rendering =========== */ | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
.icon-microphone:before { | ||
content: "\e600"; | ||
} | ||
.icon-cog:before { | ||
content: "\e601"; | ||
} | ||
.icon-user-add:before { | ||
content: "\e602"; | ||
} | ||
.icon-voicemail:before { | ||
content: "\e603"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
extends layout | ||
|
||
block content | ||
h1= title | ||
p Welcome to #{title} | ||
div(class='jumbotron') | ||
h1= title | ||
p Welcome to #{title}! The best way to serve live captions! From classrooms to boardrooms, Wordcast delivers! Provide almost instant captions to listeners with just an internet connection. | ||
|
||
a(href="listener") | ||
| Listener | ||
p | ||
| ...and its completely | ||
strong(style='color: red;') | ||
| Free! | ||
|
||
| | | ||
| But, | ||
|
||
a(href="viewer") | ||
| Viewer | ||
//- Open Source Definition | ||
a(href="http://bit.ly/1ixwz0C") | ||
small | ||
| why? | ||
|
||
p | ||
a(href="createRoom") | ||
| Create New Room | ||
p | ||
a(class="btn btn-primary btn-lg btn-cta" href="createRoom" role="button") | ||
| Create Room (Free) |
Oops, something went wrong.