Filip Christiansen
dead917060
chore(pre-commit) / refactor(templates): add ESLint pre-commit hook + refactor result.jinja ( #379 )
...
* chore(pre-commit) / refactor(templates): add ESLint hook + refactor `result.jinja`
* Add `eslint` to `pre-commit` hooks
* `getFileName` + `toggleFile` moved to `utils.js`
* Run linter
2025-07-04 18:32:34 +02:00
Zarial
0fcf8a956f
fix: frontend directory tree ( #363 )
...
CI / test (macos-latest, 3.10) (push) Waiting to run
CI / test (macos-latest, 3.11) (push) Waiting to run
CI / test (macos-latest, 3.12) (push) Waiting to run
CI / test (macos-latest, 3.13) (push) Waiting to run
CI / test (macos-latest, 3.8) (push) Waiting to run
CI / test (macos-latest, 3.9) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13) (push) Waiting to run
CI / test (ubuntu-latest, 3.8) (push) Waiting to run
CI / test (ubuntu-latest, 3.9) (push) Waiting to run
CI / test (windows-latest, 3.10) (push) Waiting to run
CI / test (windows-latest, 3.11) (push) Waiting to run
CI / test (windows-latest, 3.12) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
CI / test (windows-latest, 3.8) (push) Waiting to run
CI / test (windows-latest, 3.9) (push) Waiting to run
CI / frontend (push) Blocked by required conditions
OSSF Scorecard / Scorecard analysis (push) Waiting to run
Co-authored-by: ix-56h <n.guintini@protonmail.com>
2025-07-03 03:51:59 +02:00
Filip Christiansen
016817d559
feat: add Tailwind CSS pipeline, tag-aware cloning & overhaul CI/CD ( #352 )
...
Frontend
* introduce Tailwind CSS (package.json, tailwind.config.js, input CSS)
* build site.css on-the-fly (removed tracked artefact; added .gitignore)
* new favicon/icon assets & template cleanup
* split JS into modular files
Docker
* replace single-stage image with 3-stage build
• css-builder (Node 20 alpine) → compiles Tailwind
• python-builder installs project with PEP 621 metadata
• runtime image copies site-packages + compiled CSS, runs as uid 1000
CI/CD
* ci.yml: cache by pyproject.toml, install with `pip -e .[dev]`
* new frontend job builds/archives CSS after tests
* publish.yml: build CSS first, then wheel/sdist; trusted OIDC upload
* tidy scorecard workflow
Core library
* clone.py, parser & utils now resolve tags in addition to branches/commits
* fallback branch/tag discovery when `git ls-remote` fails
* compat\_func.py back-ports Path.readlink / str.removesuffix for Py 3.8
Tooling & docs
* add `[dev]` extra, drop requirements-dev.txt & its pre-commit fixer
* refreshed CONTRIBUTING.md with Node/Tailwind instructions
* updated tests for new tag logic
2025-07-02 21:31:14 +02:00
Zarial
2b1f228ae1
feat: Refactor backend to a rest api ( #346 )
...
* refactor: Refactor backend to a rest api and make weak changes to the front to make it works
* fix: remove result bool in Success response object since it's useless, remove sensitive data from the Success Response object, make the integration unit test compatible
* fix: clean query processor return types, remove deprecated fields, better handling for few errors
* fix: unit tests, remove deprecated is_index from jinja templates
---------
Co-authored-by: ix <n.guintini@protonmail.com>
2025-07-02 16:36:39 +02:00
Filip Christiansen
2f447ae632
chore: switch to ruff + pydoclint, deprecate .gitingest, and perform a repo-wide quality sweep ( #329 )
...
CI / test (macos-latest, 3.10) (push) Has been cancelled
CI / test (macos-latest, 3.11) (push) Has been cancelled
CI / test (macos-latest, 3.12) (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (macos-latest, 3.8) (push) Has been cancelled
CI / test (macos-latest, 3.9) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.8) (push) Has been cancelled
CI / test (ubuntu-latest, 3.9) (push) Has been cancelled
CI / test (windows-latest, 3.10) (push) Has been cancelled
CI / test (windows-latest, 3.11) (push) Has been cancelled
CI / test (windows-latest, 3.12) (push) Has been cancelled
CI / test (windows-latest, 3.13) (push) Has been cancelled
CI / test (windows-latest, 3.8) (push) Has been cancelled
CI / test (windows-latest, 3.9) (push) Has been cancelled
OSSF Scorecard / Scorecard analysis (push) Has been cancelled
* **Pre-commit**: replace `black` & `darglint` with `ruff-check` / `ruff-format`;
add `pydoclint` for docstring quality
* **Deps**: drop `tomli`; tighten `typing_extensions`; add `eval-type-backport`;
remove `black`, `djlint`, `pylint` from `requirements-dev`
* **Ignore files**: deprecate TOML-based `.gitingest`; introduce
`.gitingestignore` (git-wildmatch, parsed via `_parse_ignore_file`)
* **Config**: new unified `[tool.ruff]` (lint + format + isort); delete
`[tool.black]`, keep minimal `[tool.isort]` for now
* **Refactor/style**: adopt `from __future__ import annotations`, kw-only args,
richer types; reorder params & `__all__`; move type-only imports under
`if TYPE_CHECKING`; extract `_CLIArgs` `TypedDict`, migrate form data to
`pydantic.QueryForm`; deduplicate `cli.main` / `_async_main`; use `pathlib`,
avoid file-IO in async; replace magic numbers with constants; delete
`is_text_file` (logic now lives in `FileSystemNode.content`)
* **Bug fix**: remove silent error in `notebook_utils._process_cell`
* **Docs**: refresh README badges
* **Tests**: update fixtures & assertions
**BREAKING**: new `.gitingestignore` file replaces (now-deprecated) `.gitingest`.
No functional API or CLI changes.
2025-06-28 18:49:37 +02:00
Amaan
09ffc446a4
feat(ui): show <owner>/<repo> in page title ( #303 )
...
* Added dynamic page titles, the title now contains the repo url
2025-06-24 04:55:38 +02:00
Filip Christiansen
327958eae8
fix(ui): use proper decimal prefixes (kB / MB) in file-size selector ( #294 )
2025-06-22 09:56:04 +02:00
David Ulloa
11d3f399d9
Resolves #109 , File Tree Lines can be Added to Exclude/Include Pattern Through Click ( #153 )
...
* Add ability to click tree lines to exlcude / include in pattern input
* Support visual change for swapping between include and exclude pattern
Co-authored-by: Romain Courtois <romain@coderamp.io>
2025-02-04 02:46:47 +01:00
cyclotruc
b7c435a0b4
Fix loader not stopping
2025-01-05 07:44:47 +00:00
cyclotruc
5937b584fb
Remove Snow
2025-01-05 07:41:14 +00:00
cyclotruc
36199debad
❄️ Winter theme (temporary)
2024-12-20 20:49:04 +00:00
cyclotruc
c27bba0dfd
Press enter to ingest
2024-12-15 17:46:22 +00:00
cyclotruc
813e7e8abc
Add include/exclude selector (wip)
2024-12-15 06:23:37 +00:00
cyclotruc
9d7019efc0
Moved validation to backend
2024-12-14 22:29:58 +00:00
Ephraim Duncan
300b9ec537
fix: append https:// to urls without it ( #14 )
...
Co-authored-by: Romain Courtois <romain@coderamp.io>
2024-12-14 22:58:14 +01:00
cyclotruc
6578c1c272
Add the ability to filter by max file size
2024-12-14 02:26:29 +00:00
cyclotruc
38341c82ed
Add frontend max_file_size slider
2024-12-14 00:59:44 +00:00
cyclotruc
b0107bc847
Remove extra title for directory structure
2024-12-08 00:48:41 +00:00
cyclotruc
49790d39a0
Add copy whole digest button
2024-12-07 18:49:15 +00:00
cyclotruc
42917f2c2e
Refactor to use a base tempalte
2024-12-07 17:26:36 +00:00
cyclotruc
9d9954e45a
Moved scripts to static file
2024-12-07 17:00:46 +00:00