Commit graph

57 commits

Author SHA1 Message Date
f5afedc5f7 Fix unturf capitalization to lowercase 2026-01-11 07:14:43 -05:00
ddf071161e Document git remote configuration with dual push targets 2026-01-11 07:14:12 -05:00
e4cabf4be6
otp (#41)
* Add email OTP authentication system and private room management

## Authentication System
- Implement email OTP-based authentication with User and OTPToken models
- Add auth.py module with OTP generation, email sending, and session management
- Create authentication endpoints: /auth/send-otp, /auth/verify-otp, /auth/claim-name, /auth/status, /auth/logout
- Add authentication modal UI with email verification and display name claiming
- Support SMTP configuration via environment variables (optional)

## Room Privacy & Ownership
- Add is_private, is_archived, owner_id, and forked_from_id fields to Room model
- Implement private rooms (single-user, owner-only access)
- Add room forking: users can fork public rooms to public or private
- Add room archive/delete endpoints (owner-only operations)
- Implement access control for private room viewing

## UI Improvements
- Add public/private room tabs in sidebar
- Show authentication prompt in private rooms tab for non-authenticated users
- Add room action buttons (fork, archive, delete) with proper permissions
- Update homepage with statistics (public/private rooms, active users, active rooms)
- Remove model/voice from URL query strings, use localStorage exclusively

## Database Migration
- Create migration 2025011100 for User, OTPToken tables and Room model updates
- Add indexes for email, display_name, is_private, is_archived, owner_id

## Breaking Changes
- URL parameters now only include username (model/voice moved to localStorage)
- Private rooms require authentication to access
- Room creation can now require authentication (for private rooms)

* Update README with authentication and private room documentation

* Simplify README to be less verbose

* Add missing session import to fix linter errors

* Fix migration dependency to resolve multiple heads conflict

* asdf

* Fix SQLAlchemy auto-correlation error in homepage statistics query

* Change tagline from AI-Powered to Machine Learning Powered

* Add dedicated authentication page instead of modal

- Create new /auth route with full-page authentication flow
- Remove modal code from index.html
- Update Sign in link to point to /auth page
- Auth page has 4-step flow: email, OTP, display name, success
- Better UX with gradient background and cleaner design

* Fix migration: remove batch_alter_table to avoid circular dependency

- Use op.add_column() directly instead of batch_alter_table()
- Remove foreign key constraints (defined in models, not needed in migration)
- User and OTPToken tables created by db.create_all() in make init-db
- Fixes CircularDependencyError during migration

* Fix migration: check if columns exist before adding

- Use inspector to check existing columns and indexes
- Only add columns/indexes if they don't already exist
- Handles case where db.create_all() was run before migration
- Fixes 'duplicate column name' error

* Add profile page, room browsing, and updated_at timestamp

Features:
- Profile page with username change and dark/light mode settings
- Browse page for discovering public and private rooms
- Room updated_at timestamp (integer Unix epoch) that updates on new messages
- Dynamic room tabs based on current room type (public/private)
- Fork and delete room actions moved to right sidebar utility belt
- Remove archive feature and success alerts from room actions

Technical changes:
- Add updated_at column to Room model (integer timestamp)
- Add /profile route with authentication requirement
- Add /browse route for room discovery
- Add API endpoints for username availability check and update
- Update room.updated_at on message creation in app.py:1189
- Wider right sidebar (25% instead of 15%) for better button layout
- Profile link on homepage and browse page for authenticated users

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: russell@unturf. <russell@unturf.com>
2025-11-11 22:56:58 -05:00
d849ecbd7d Add code execution and TTS features to README
Document new code execution feature with 30+ language support, isolated sandbox containers, and binary downloads. Also mention text-to-speech capability.
2025-11-11 19:27:52 -05:00
4f59aa5dcc modified: README.rst 2025-11-11 18:52:31 -05:00
b65fd58285 nothing lasts but nothing is lost.
Goodbye Naptha.

	modified:   README.rst
	modified:   vars.sh.sample
2025-05-23 10:29:42 -04:00
Russell Ballestrini
9bfd1c9b5a dynamic models for all the platforms!
modified:   .gitignore
	modified:   README.rst
	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
	new file:   vars.sh.sample
2025-03-11 21:15:13 -04:00
b6b4067134
Update README.rst 2025-02-16 15:54:51 -05:00
8fd77088e6
Update README.rst
export VLLM_ENDPOINT2=https://naptha2.ai.unturf.com/v1
    export VLLM_ENDPOINT3=https://naptha3.ai.unturf.com/v1
2025-02-10 13:11:47 -05:00
381588d6bc mistral upgrades
modified:   README.rst
	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
2025-02-08 16:03:22 -05:00
748649d98a o3-mini and hermes 8b 8fp!
modified:   README.rst
	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
2025-02-01 15:58:01 -05:00
adc202125e free endpoints for open public domain ai
modified:   README.rst
2025-01-25 14:40:14 -05:00
0492d5b329 r1 llm support:
modified:   README.rst
	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
2025-01-25 14:37:26 -05:00
2e7fd18ba1 more openai models
modified:   README.rst
	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
2024-12-31 12:18:03 -05:00
9c44b23758 f 2024-12-07 10:51:08 -05:00
8743464747 modified: README.rst 2024-12-07 10:47:48 -05:00
Russell Ballestrini
185ebbcb59 ollama Hermes
ollama run hf.co/NousResearch/Hermes-3-Llama-3.1-8B-GGUF:Q8_0

	modified:   README.rst
	modified:   app.py
2024-11-22 14:15:44 -05:00
b0aee48352 google gemini has entered the chat.
modified:   README.rst
	modified:   app.py
2024-11-21 10:16:46 -05:00
d316831a45 grok-beta
modified:   README.rst
	modified:   app.py
2024-11-21 08:57:29 -05:00
7f332de648 * Update README.rst
* button grid vertical
* button TTS play button using the free speech.ai.unturf.com endpoint!

	modified:   README.rst
	modified:   templates/base.html
	modified:   templates/chat.html
2024-11-14 07:05:58 -05:00
496dc42f13
vllm/hermes-llama-3 demo.opencompletion.com 2024-11-11 07:54:11 -05:00
0faff35c58
opencompletion.com 2024-10-28 10:24:45 -04:00
3e98bf96e0
Update README.rst 2024-10-27 18:45:29 -04:00
048e38b0ff
new name who this?
opencompletion

opencompletion.com
2024-10-27 17:59:53 -04:00
Russell Ballestrini
e310217166 gpt-o1-mini and mistral-nemo
You'll have to do `pip install --upgrade -r requirements.txt` to install latest:

* mistralai client
* openai client

	modified:   app.py
2024-09-13 09:04:35 -04:00
d684abb4fd battleship 2024-08-30 10:34:33 -04:00
884450dda2 modified: ../README.rst 2024-08-10 11:03:28 -04:00
Russell Ballestrini
b0fa97ffc3 gpt-4o-2024-08-06 is the cheapest version of gpt-4 yet!
modified:   README.rst
	modified:   app.py
2024-08-07 18:59:18 -04:00
257e5a6a04 /activity metadata
modified:   README.rst
	modified:   app.py
	modified:   research/activity16.yaml
2024-08-02 18:49:50 -04:00
2fc774d85c /activity cancel
modified:   README.rst
	modified:   app.py
2024-07-28 13:59:25 -04:00
0462de7368 Activity Mode documented 2024-07-28 13:13:57 -04:00
Russell Ballestrini
698455fb40 gpt-4o-mini as gpt-mini alias
modified:   README.rst
	modified:   app.py
2024-07-18 17:12:05 -04:00
Russell Ballestrini
da5a8cbcfa gpt-4o for titles and add claude-opus
modified:   README.rst
	modified:   app.py
2024-07-08 17:33:12 -04:00
d882a14a8c update to hermes 2 llama 3 8B
modified:   README.rst
	modified:   app.py
2024-05-08 17:35:37 -04:00
dbcdad6838 Additional groq models
modified:   README.rst
	modified:   app.py
2024-04-21 09:46:35 -04:00
4037872e7e anthropic.claude-3-haiku-20240307-v1:0
modified:   README.rst
	modified:   app.py
2024-03-15 10:12:58 -04:00
Russell Ballestrini
f365e45821 Claude 3 sonnet working properly now.
modified:   README.rst
	modified:   app.py
2024-03-11 10:35:05 -04:00
Russell Ballestrini
36336234c5 claude-sonnet
modified:   README.rst
	modified:   app.py
2024-03-04 11:11:41 -05:00
751dd80cc1 mistral-large
modified:   README.rst
	modified:   app.py
2024-03-02 10:46:41 -05:00
Russell Ballestrini
23e844baf9 Added groq platform support for ultra fast LLM inference
modified:   README.rst
	modified:   app.py
	modified:   requirements.txt
2024-02-28 10:32:31 -05:00
1b605568b2 vllm support hacked in
modified:   README.rst
	modified:   app.py
2024-01-25 08:12:01 -05:00
6a42dacf65 localhost openchat is working. lol
I replaced gpt-3.5-turbo workloads with openchat a local GPU powered inference server

The openchat inference server supports using the latest and official openai python client.

This means you can replace both standard and streaming workloads with an "offline" LLM.

	modified:   README.rst
	modified:   app.py
2024-01-07 14:57:40 -05:00
c40f961fc3
Update README.rst 2023-12-29 14:12:36 -05:00
Russell Ballestrini
d666efb162 implement together/solar
modified:   README.rst
	modified:   app.py
2023-12-29 13:28:53 -05:00
Russell Ballestrini
12abd02978 modified: README.rst 2023-12-20 09:18:35 -05:00
Russell Ballestrini
c95f2722e9 modified: README.rst 2023-12-20 08:11:54 -05:00
efbb6d7c26
Update README.rst 2023-12-16 11:40:00 -05:00
5918295320
Update README.rst 2023-12-16 11:38:54 -05:00
Russell Ballestrini
6c0a09e0c2 modified: README.rst 2023-12-14 14:21:08 -05:00
42b91a28da
Update README.rst 2023-12-05 18:30:46 -05:00