https://github.com/amanvirparhar/elara
A simple tool to anonymize LLM prompts.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Keywords
Repository
A simple tool to anonymize LLM prompts.
Basic Info
Statistics
- Stars: 61
- Watchers: 2
- Forks: 8
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
Elara
A simple tool to anonymize LLM prompts.
Uses urchade/glinermultipii-v1 for named entity recognition (NER).
Watch the demo to see Elara in action.
Components
- SvelteKit fullstack web app running on port
5173 - Python webserver to interact with the model running on port
8000
Setup
Python
First, if you don't have uv installed on your system, install it with the following commands (uv allows for easy package and version management for Python projects):
```bash
On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh ```
```bash
On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ```
Then, start the Python webserver with uv:
bash
cd python && uv run --python 3.12 --with-requirements requirements.txt main.py
Wait until you see INFO: Application startup complete. in the terminal before running and using the SvelteKit app (ensures that the model has been loaded and the server is ready to handle requests).
SvelteKit
Run the SvelteKit app with npm:
bash
cd sveltekit && npm i && npm run dev
Usage
- Open the SvelteKit app in your browser at
http://localhost:5173. - Paste/write text into the "ORIGINAL TEXT" textarea.
- Click the "SUBMIT" button to anonymize the text.
- Copy the anonymized text, which will appear in the "ANONYMIZED TEXT" card.
- Paste the anonymized text into an LLM of your choice, and generate a response.
- Copy the LLM's response and paste it into the "ANONYMIZED LLM RESPONSE" textarea.
- The "DE-ANONYMIZED TEXT" card will show the de-anonymized version of the LLM's response, which you can copy and use as needed.
- If you'd like to modify any labels, please add or remove lines from
labels.txtin the project's root.
Owner
- Name: Amanvir Parhar
- Login: amanvirparhar
- Kind: user
- Location: California
- Website: amanvir.com
- Twitter: amanvirparhar
- Repositories: 10
- Profile: https://github.com/amanvirparhar
builder, cs @ umd
GitHub Events
Total
- Issues event: 1
- Watch event: 59
- Push event: 7
- Pull request event: 2
- Fork event: 8
- Create event: 4
Last Year
- Issues event: 1
- Watch event: 59
- Push event: 7
- Pull request event: 2
- Fork event: 8
- Create event: 4
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 22 days
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 22 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- guilherme-marcello (1)
Pull Request Authors
- guilherme-marcello (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- 206 dependencies
- @sveltejs/adapter-auto ^4.0.0 development
- @sveltejs/kit ^2.16.0 development
- @sveltejs/vite-plugin-svelte ^5.0.0 development
- autoprefixer ^10.4.20 development
- prettier ^3.4.2 development
- prettier-plugin-svelte ^3.3.3 development
- prettier-plugin-tailwindcss ^0.6.10 development
- svelte ^5.0.0 development
- tailwindcss ^3.4.17 development
- vite ^6.0.0 development
- ollama ^0.5.12
- svelte-sonner ^0.3.28
- fastapi *
- gliner *
- uvicorn *