BASI-LABS/parseltongue
소개
Parseltongue는 실시간 토큰화 시각화와 원활한 텍스트 변환을 지원하는 강력한 프롬프트 해킹 도구이자 브라우저 확장 프로그램입니다. 바이너리, Base64, 리트스피크, 특수 문자, 여러 언어 등의 형식을 지원하며, 레드팀, 개발자, 언어학자, 잠재 공간 탐험가에게 적합합니다.
기타 프로젝트What you can do
- Text Conversion: Convert text to/from leetspeak, binary, base64, ROT13, and more.
- Tokenization Visualization: Real-time token visualization with colored tokens.
- User Interface: Easy access via popup and context menu integration.
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalParseltongue (αlpha)
Parseltongue is a powerful browser extension for text conversion and real-time tokenization visualization, supporting formats like leetspeak, binary, base64, and more to come. Perfect for developers, linguists, and casual users to enhance text prompts on the fly.
Compatibility
| Feature | Firefox | Chrome |
|---|---|---|
| Text Conversion | ✅ | ✅ |
| Tokenization Visualization | ✅ | ✅ |
| Popup UI | ✅ | ✅ |
| Context Menu Integration | ✅ | ✅ |
| Real-time Visualization | ✅ | ✅ |
Features
- Text Conversion: Convert text to/from leetspeak, binary, base64, ROT13, and more.
- Tokenization Visualization: Real-time token visualization with colored tokens.
- User Interface: Easy access via popup and context menu integration.
ROADMAP (To-Do): glitch token library, prompt library (system prompts + 'harmful' prompts for testing), language translation, text reversal, special characters + unicode, emojispeak, word order scrambling, prompt enhancer/mutator, image mutator (adds noise)
Installation
Clone the Repository
git clone https://github.com/BASI-LABS/parseltongue.git
cd parseltongue
Build the Extension
NOTE: You can use the /dist folder within the repo as well, the bottom instruction are just for good measure.
Parseltongue uses Webpack to bundle the extension. Follow these steps to compile the extension:
Install Dependencies:
npm installCompile with Webpack:
npm run build
Load the Extension
Chrome
- Go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
manifest.jsonfile in thedistdirectory
Firefox
- Go to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on..."
- Select the
manifest.jsonfile in thedistdirectory
Accessing the Sidebar
After activating the extension through the popup, you'll need to open the sidebar to access ParselTongue's full functionality. The process differs slightly between Chrome and Firefox:
For Chrome Users
Locate the ParselTongue icon in your browser's toolbar. Right-click on the icon to reveal a dropdown menu. Select "Open side panel" from the options presented.
For Firefox Users
Look for the sidebar icon in your browser's toolbar (usually represented by a box with lines). Click on this icon to toggle the sidebar view. If you don't see the sidebar icon, you can:
Use the keyboard shortcut Ctrl+B (Cmd+B on Mac) to open the sidebar. Or, go to View > Sidebar in the main menu and select ParselTongue.
For more detailed instructions on using Firefox's sidebar feature, you can refer to Mozilla's official support page: Using the Firefox Sidebar Once opened, the ParselTongue sidebar will provide you with quick access to all of its text manipulation and analysis tools.
Happy prompting :)
Usage
- Text Conversion: Highlight text, right-click, and select "Convert Text".
- Tokenization Visualization: Use the popup to visualize tokens in real-time.
- Toggle Real-time Visualization: Click the extension icon to enable/disable real-time token visualization.
Contributing
We welcome contributions! Follow these steps to set up your development environment:
- Fork the Repository: Click the "Fork" button at the top right of the repository page.
- Clone Your Fork:
git clone https://github.com/<your-username>/parseltongue.git cd parseltongue - Create a Branch:
git checkout -b feature/your-feature-name - Make Your Changes: Implement your feature or fix.
- Commit Your Changes:
git add . git commit -m "Description of your changes" - Push to Your Fork:
git push origin feature/your-feature-name - Create a Pull Request: Open a pull request from your branch to the
mainbranch of the original repository.
Running a Temporary Extension
To test the extension without permanently installing it, follow the loading instructions under "Load the Extension" for Chrome or Firefox.
License
Licensed under the MIT License. See the LICENSE file for details.
Parseltongue - Convert and visualize text like magic!
관련 프로젝트 살펴보기
불러오는 중…