Skip to content

Commit

Permalink
Set up the project to start implementation
Browse files Browse the repository at this point in the history
The idea of the project is to collect data from two databases that
contains the same structure and make the PDF file out of it in the form
of the parallel comparison text.
  • Loading branch information
placek committed Apr 15, 2024
0 parents commit 0f1a826
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source of the bible text[^1]

[^1]: https://www.ph4.org/b4_index.php
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TODO
7 changes: 7 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TODO

- [ ] Get text of the bible from the database.
- [ ] Get it into a structure with titles and chapter/verse numbers.
- [ ] Convert it into HTML.
- [ ] Style it.
- [ ] Make a PDF out of it.
Binary file added db/NA27ca.zip
Binary file not shown.
Binary file added db/NA27ca/NA27ca.SQLite3
Binary file not shown.
Binary file added db/NA27ca/NA27ca.commentaries.SQLite3
Binary file not shown.
Binary file added db/NA28.zip
Binary file not shown.
Binary file added db/NA28/NA28.SQLite3
Binary file not shown.
Binary file added db/NA28/NA28.commentaries.SQLite3
Binary file not shown.
Binary file added db/PBPW.zip
Binary file not shown.
Binary file added db/PBPW/PBPW.SQLite3
Binary file not shown.
12 changes: 12 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
let
db = pkgs.writeShellScriptBin "db" ''
${pkgs.rlwrap}/bin/rlwrap ${pkgs.sqlite}/bin/sqlite3 $@
'';
in
pkgs.mkShell {
buildInputs = [
pkgs.sqlite
db
];
}

0 comments on commit 0f1a826

Please sign in to comment.