Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: Bug report
about: Something isn't working as expected
title: "fix: "
labels: bug
assignees: ""
---

## Description

A clear, concise description of the bug.

## Steps to Reproduce

1. Go to '...'
2. Click on '...'
3. See error

## Expected Behavior

What you expected to happen.

## Actual Behavior

What actually happened. Include screenshots if helpful.

## Environment

| Field | Value |
|---|---|
| Node.js version | `node -v` |
| pnpm version | `pnpm -v` |
| OS | e.g. macOS 14, Ubuntu 22.04 |
| PostgreSQL version | e.g. 16 |
| pgvector version | e.g. 0.7.0 |
| Deployment | local dev / Docker / self-hosted |

## Logs

<details>
<summary>Relevant logs (browser console, server output, Docker logs)</summary>

```
paste logs here
```

</details>

## Additional Context

Anything else that might help — related issues, recent changes, workarounds tried.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: false

contact_links:
- name: Ask a question
url: https://github.com/albegosu/hypar/discussions
about: Not a bug or feature? Start a discussion — questions, ideas, and show-and-tell welcome.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Propose an improvement or new capability
title: "feat: "
labels: enhancement
assignees: ""
---

## Problem Statement

What problem does this solve? Who runs into it, and when?
_Example: "As someone uploading large PDFs, I have no visibility into ingestion progress..."_

## Proposed Solution

Describe the feature you'd like to see. Be as concrete as you can — UI, API shape, config knob, whatever is relevant.

## Alternatives Considered

Other approaches you thought about and why you ruled them out (or didn't).

## Additional Context

Links, mockups, related issues, prior art, or anything else that helps frame the idea.
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Type of Change

<!-- Check all that apply -->

- [ ] Bug fix
- [ ] New feature
- [ ] Documentation
- [ ] Refactor
- [ ] Chore (deps, config, tooling)

## Description

What does this PR do, and why? Keep it short — the commit history fills in the details.

## Related Issue

Closes #<!-- issue number, or remove this line if none -->

## Testing Checklist

- [ ] `pnpm ci:check` passes locally (lint → typecheck → tests → eval → build)
- [ ] New or updated tests cover the change (if applicable)
- [ ] Docs updated if behavior or config changed

## Screenshots / Video

<!-- For UI changes, drop a before/after screenshot or a short screen recording. Delete this section if not applicable. -->
29 changes: 29 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Code of Conduct

## Our Pledge

We — contributors and maintainers — pledge to make participation in hypar a welcoming, harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity, level of experience, nationality, personal appearance, race, religion, or sexual identity.

## Our Standards

**Expected behavior:**
- Use welcoming, inclusive language
- Be respectful of differing viewpoints and experience levels
- Accept constructive feedback gracefully
- Focus on what is best for the community and the project

**Unacceptable behavior:**
- Harassment, insults, or derogatory comments in any form
- Personal or political attacks
- Publishing others' private information without consent
- Any conduct that would reasonably be considered inappropriate in a professional setting

## Enforcement

Instances of unacceptable behavior may be reported to **alberto@resiz.es**. All reports will be reviewed confidentially and handled promptly. Maintainers are obligated to maintain confidentiality regarding the reporter.

Violations may result in a temporary or permanent ban from the project.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
2 changes: 1 addition & 1 deletion i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"fieldType": "type",
"save": "save document",
"dropZone": "drag and drop files here, or click to browse",
"supports": "supports: .txt, .md, .pdf",
"supports": "supports: .txt, .md, .pdf, .xls, .xlsx",
"selectFile": "select file",
"uploadFile": "upload file",
"saving": "Saving…",
Expand Down
2 changes: 1 addition & 1 deletion i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"fieldType": "tipo",
"save": "guardar documento",
"dropZone": "arrastra archivos aquí, o haz clic para buscar",
"supports": "soporta: .txt, .md, .pdf",
"supports": "soporta: .txt, .md, .pdf, .xls, .xlsx",
"selectFile": "seleccionar archivo",
"uploadFile": "subir archivo",
"saving": "Guardando…",
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default defineNuxtConfig({
chunkOverlap: Number(process.env.CHUNK_OVERLAP ?? 60),
chunkStrategy: process.env.CHUNK_STRATEGY ?? 'sentence-aware',
maxDocSizeMb: Number(process.env.MAX_DOC_SIZE_MB ?? 10),
allowedFormats: process.env.ALLOWED_FORMATS ?? 'pdf,md,txt',
allowedFormats: process.env.ALLOWED_FORMATS ?? 'pdf,md,txt,xls,xlsx',
// Step 5 - Search
searchTopK: Number(process.env.SEARCH_TOP_K ?? 5),
searchThreshold: Number(process.env.SEARCH_THRESHOLD ?? 0.2),
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"vue-i18n": "^10.0.8",
"vue-router": "^4.4.5",
"workflow": "^4.2.4",
"xlsx": "^0.18.5",
"zod": "^3.22.4"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions pages/documents/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function getIconForType(type) {
markdown: 'i-heroicons-document',
pdf: 'i-heroicons-document-arrow-down',
web: 'i-heroicons-globe-alt',
spreadsheet: 'i-heroicons-table-cells',
}
return icons[type] || 'i-heroicons-document'
}
Expand Down
2 changes: 1 addition & 1 deletion pages/upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<input
ref="fileInput"
type="file"
accept=".txt,.md,.pdf"
accept=".txt,.md,.pdf,.xls,.xlsx"
class="hidden"
@change="handleFileChange"
>
Expand Down
65 changes: 65 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading