This is a browser-based client for the database of the discontinued "Beolingus" German-English Dictionary. It can be used in any up-to-date browser with modern JavaScript support, and it can be installed for offline use as a "Progressive Web App".
Please note the word list itself is not part of this repository. Please send suggestions for the word list to beolingus@tu-chemnitz.de
The main part of this project is written in TypeScript, which is
called from an HTML file. The Parcel tool is used to compile TypeScript
to JavaScript and bundle everything (HTML, CSS, JS, images). The result is currently hosted on
GitHub Pages, using a GitHub Action to produce the aforementioned bundle. The dictionary data is
fetched as a gzipped text file from a remote server, which must send an Access-Control-Allow-Origin
header to allow the JS code to fetch the file. The dictionary file is explicitly cached using the
JS Cache API to limit the load on the origin server as much as possible. Installation as a
"Progressive Web App" is made possible by a corresponding manifest file, and offline use is made
possible by a corresponding JS Service Worker that caches the app. The entered search term is
turned into a regular expression, which is used to search the dictionary data, and results are
sorted by a score determined by a set of regular expressions and rendered into an HTML table.
npm
(my installation notes)make
make installdeps
to install the dependencies via npm
make clean all
for a full rebuild with lintingnpm start
to start up the local development server (with live refresh)It is all much appreciated!
Dictionary data from dict.tu-chemnitz.de is Copyright © 1995-2024 Frank Richter.
This page/app is Copyright © 2024 Hauke Dämpfling.
This project is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this project; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This project makes use of the following libraries: