Giter Club home page Giter Club logo

dictcc_wrapper's Introduction

dict.cc terminal client

Functionality

  • Search for specific vocabulary on dict.cc
  • Save chosen entries in one of your vocabulary lists

Dependencies

  • 'ncurses' for UI
  • 'curl' for html requests
  • 'regex' for pattern search in html data
  • minUnit for minimal unit testing

Status 2021-07-04

  • Still a bit buggy, but basic functionality is already working

Todo List - Requirements

  • Search for vocabulary
  • Parse vocabulary lists for a language
  • API to add vocabulary to list
  • Simple UI via ncurses
  • Choose vocabulary in UI
  • Choose vocabulary list in UI
  • Add chosen vocabulary to chosen list
  • Deal with arguments
  • Added unit testing
  • Get rid of unwanted characters in vocabulary, eg \'
  • Problem with 'Umlaute'
  • Ability to scroll - display some scroll progress
  • Deal with special characters like german Umlaute
  • Info Window with key binding
  • Arrow keys, Return key
  • Exit, if opening session not successful
  • Exit, if vocab lists has no entry
  • Exit, if no vocab checked
  • Bug: last vocablist highlights win border

Todo List - Tests

  • Write unit tests
  • Test special cases
  • Problem with "wahrnehmen"
  • Problem addint "Howitz" under "Hallo"
  • Behavior, if no internet connection

dictcc_wrapper's People

Contributors

fea954 avatar tomobones avatar yiannikir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dictcc_wrapper's Issues

Windows support

I tried forking the project (ofcourse, I came here after seeing it on jacob sorber youtube) and it doesn't work smootlhy on windows.
so far i've identified the following issues, but there are probably more:

  • makefile: needs an ability to switch between UNIX commands and windows commands to run make clean on both. we can just look here
  • both <regex.h> and <ncurses.h> aren't supported on my machine (and windows in general). ncurses is probably not a huge deal, becuase user interface can be extracted outside and should be different for each os. the regex.h header is a bigger issue.

whether windows should be supported is up to you to decide

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.