Giter Club home page Giter Club logo

fafi's People

Contributors

svandragt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fafi's Issues

Remember errors

Links containing errors should be skipped for a number of hours as they slow down the indexing.

Handle profile deletion

I deleted my firefox profile and fafi is trying to use a profile that no longer exists.
Handle profile deletion by asking the user to pick a new sqlite.
This should not affect already indexed bookmarks.

Update docs

Spike:

  1. Screenshot shows previous name for the program.

spec files to use env variable

if we use direnv to set the vaiable to the poetry environment, then have the spec file read the env var, then the spec file can be included into version control

--profile parameter

Firefox supports multiple profiles. Therefore fafi should be able to index bookmarks relating to any of the available profiles (no parameter), or a specific profile when one is specified.

web interface

spin up a basic web server and a search/results UI

Add .Taskfile

task runner, need to first publish my taskfile fork.

Make a new release

  • how to build and submit pypi updates using poetry: poetry build && poetry publish
  • pyinstaller works also but is not documented:
pyinstaller --onedir src/fafi/main.py --name fafi
cd dist
mv fafi app
ln -s app/fafi fafi
zip -r ../fafi.zip
mv ../fafi.zip .

Data folder based on cwd

Should be created in central location (already have appdirs).
This is an issue when installing fafi via pipx.

Parallel indexing

INdexing is currently done one link at a time, we can speed it up using multiple indexers.

0.2.1 pipx is broken

root@unanimous-staghound:~/.local/bin# ./fafi 
Traceback (most recent call last):
  File "./fafi", line 5, in <module>
    from fafi.fafi import cli
  File "/root/.local/pipx/venvs/fafi/lib/python3.8/site-packages/fafi/fafi.py", line 7, in <module>
    import appdata
ModuleNotFoundError: No module named 'appdata'

UX improvements

  1. Listview with results
  2. Tab for Search and Index
  3. For each result: button to open the website
  4. For each result: button to read the text only scraped content

Store bookmark added date last index

Index bookmarks old to new, and save the last indexed bookmark created date as state.
When indexing, index only bookmarks newer than that date.

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.