Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Initial empty server.
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Nov 18, 2013
0 parents commit b44f7e3
Show file tree
Hide file tree
Showing 7 changed files with 113 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules
/lib
*.swp
*.log
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/node_modules
/src
*.swp
.npmignore
.gitignore
27 changes: 27 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')

coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'

coffeelint:
options:
max_line_length:
level: 'ignore'

src: ['src/**/*.coffee']

grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-shell')
grunt.loadNpmTasks('grunt-coffeelint')
grunt.registerTask('lint', ['coffeelint'])
grunt.registerTask('default', ['coffee', 'lint'])
grunt.registerTask 'clean', ->
rm = require('rimraf').sync
rm('lib')
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2013 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# mini-breakpad-server

Minimum collecting server for crash reports sent by
[google-breakpad](https://code.google.com/p/google-breakpad/).


## Features

* No requirement for setting up databases or web servers.
* Collecting crash reports with minidump files.
* Simple web interface for viewing translated crash reports.

## Build

* `npm install .`
* `grunt`
* `node lib/app.js`
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "mini-breakpad-server",
"description": "Minimum breakpad crash reports collecting server",
"version": "0.1.0",
"scripts": {
"prepublish": "grunt coffee"
},
"dependencies": {
"express": "3.x",
"minidump": "0.1.0"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-coffee": "~0.6.6",
"grunt-coffeelint": "~0.0.6",
"grunt-cli": "~0.1.7",
"grunt-shell": "~0.2.2",
"rimraf": "~2.1.4",
"coffee-script": "~1.6.2"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/atom/mini-breakpad-server/raw/master/LICENSE"
}
],
"repository": {
"type": "git",
"url": "https://github.com/atom/mini-breakpad-server.git"
},
"bugs": {
"url": "https://github.com/atom/mini-breakpad-server/issues"
}
}
6 changes: 6 additions & 0 deletions src/app.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
express = require 'express'

app = express()

app.listen 1127
console.log 'Listening on port 1127'

0 comments on commit b44f7e3

Please sign in to comment.