smooth-app
A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world
Snap a photo, say it or type it. Amino works out what you ate and keeps your calories and macros on track, on your iPhone, on the web, and in the AI assistants you already use.
HealthTypeScript · PLpgSQLGitHub @AminoFitOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
Reach out to Chris or Seb to get a copy of the local .env.local stuff that you need.
+1 844 495 1001+1 855 650 0610+1 567 292 1010ngrok http --domain=ab5c7598fc4d-259316472161741218.ngrok-free.app 3000brew install --cask docker
docker pull postgres
docker run -p 5432:5432 --name amino-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
Url to import into TablePlus. This should be in your .env.local file"
DATABASE_URL=postgresql://postgres:[email protected]/postgres?statusColor=005392&env=development&name=Amino%20Localhost&tLSMode=1&usePrivateKey=false&safeModeLevel=0&advancedSafeModeLevel=0&driverVersion=0
After running docker postgres,
npm run migrate:dev
You'll need to install dotenv CLI to run the migration scripts:
npm install -g dotenv-cli
Instructions to install pgvector on a local docker image of postgres
Access your docker image (assuming it is called amino-postgres)
docker exec -it amino-postgres bash
install git
apt-get update
apt-get install -y git
install make
apt-install gcc
install pgvector
git clone --branch v0.4.4 https://github.com/pgvector/pgvector.git
cd pgvector
make and install
apt-get install make
apt-get install gcc
apt install postgresql-server-dev-15
export PG_CONFIG=/usr/lib/postgresql/15/bin/pg_config
make
make install
exit the docker bash
exit
enter postgres
docker exec -it amino-postgres psql -U postgres -d postgres
install vector
CREATE EXTENSION vector;