This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
204 additions
and
150 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
node_modules/ | ||
config.coffee | ||
/config.coffee | ||
uploads/ | ||
archive/ | ||
config.yaml |
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,15 @@ | ||
|
||
TODO | ||
---- | ||
|
||
- pdfjoin --a4paper --fitpaper false --rotateoversize false scan01.png | ||
scan02.png | ||
- https://www.npmjs.com/package/textract | ||
- indexing of directories and files using inictl | ||
- provide command to merge images to pdfs | ||
- provide command for creating searchable pdfs (using tessareact) | ||
- include textract for extracting text from files | ||
- refactor dir/file to be created from index | ||
- search interface, allowing autocompletion | ||
- http://stackoverflow.com/questions/20789224/elasticsearch-autocomplete-search-on-array-field | ||
- |
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,14 @@ | ||
# uncomment to change | ||
#httpPort: 3000 | ||
#lhRoot: ./archive | ||
#lhUploads: ./uploads | ||
#fileZuendstoff: http://infoini.de/redmine/attachments/download/422/zs-ss2015.pdf | ||
#refreshIntervalCafe: 1000 | ||
#refreshIntervalTuer: 1000 | ||
#refreshIntervalMensa: 180000 | ||
#tuerHost: localhost | ||
#tuerPort: 51966 | ||
#cafeHost: iniwlan.beuth-hochschule.de | ||
#cafePort: 4000 | ||
#mensaUrl: http://www.studentenwerk-berlin.de/speiseplan/rss/beuth/woche/kurz/0 | ||
#redmineAuthKey: '' |
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,22 @@ | ||
yaml = require 'js-yaml' | ||
fs = require 'fs' | ||
|
||
defaults = require './config.defaults' | ||
|
||
|
||
config = { | ||
# function to load other configs | ||
load: (path = '/etc/inid.yaml') -> | ||
text = fs.readFileSync(path) | ||
userConfig = yaml.safeLoad text | ||
for k, v of userConfig | ||
if k == 'load' | ||
console.warn '"load" not allowed as config key' | ||
else | ||
config[k] = v | ||
} | ||
|
||
for k,v of defaults | ||
config[k] = v | ||
|
||
module.exports = config |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.