A simple web interface for Briefly that analyzes text based on proven writing principles from multiple classic guides.
- Real-time Analysis: Instant feedback on your writing
- 11 Writing Principles: Based on Wes Kao, Casagrande, Minto Pyramid, HBR Guide, and Zinsser
- Clean Interface: Modern, responsive design
- Client-side Processing: No server required - works entirely in the browser
To deploy this frontend to GitHub Pages:
-
Push to GitHub:
git add . git commit -m "Add Briefly frontend" git push origin main
-
Enable GitHub Pages:
- Go to your repository settings
- Scroll to "Pages" section
- Select "Deploy from a branch"
- Choose "main" branch and "/ (root)" folder
- Click "Save"
-
Your site will be available at:
https://yourusername.github.io/secondBrain
├── index.html # Main HTML file
├── styles.css # CSS styles
├── script.js # JavaScript analysis logic
├── writing_bot.py # Original Python bot (reference)
├── _config.yml # GitHub Pages configuration
└── README-frontend.md # This file
The frontend implements a simplified version of the Python bot's analysis logic directly in JavaScript. It analyzes text against 11 key writing principles:
- Super Specific How - Focus on actionable implementation
- Cut Backstory - Start right before you get eaten by the bear
- Clear Recommendations - Be clear about your point of view
- Bottom Line First - Lead with conclusions (Minto Pyramid)
- Sentence Structure - Clear, concise sentences (Casagrande)
- Active Voice - Prefer active over passive voice
- Logical Flow - Structure arguments logically
- Conciseness - Eliminate unnecessary words
- Clarity & Simplicity - Write clearly, avoid jargon (Zinsser)
- Eliminate Clutter - Remove unnecessary qualifiers (Zinsser)
- Styling: Edit
styles.cssto change colors, fonts, or layout - Analysis Logic: Modify
script.jsto add new rules or change existing ones - Content: Update
index.htmlto change descriptions or add new features
The frontend uses modern JavaScript features and CSS, so it works best in:
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
Feel free to submit issues or pull requests to improve the frontend!