page.tsx 995 Bytes
Newer Older
Jeffrey Morgan's avatar
Jeffrey Morgan committed
1
2
3
4
5
6
7
import models from '../../models.json'

export default async function Home() {
  return (
    <main className='flex min-h-screen max-w-2xl flex-col p-4 lg:p-24'>
      <h1 className='font-serif text-3xl'>ollama</h1>
      <section className='my-8'>
8
        <p className='my-3 max-w-md'>
Jeffrey Morgan's avatar
Jeffrey Morgan committed
9
10
11
          <a className='underline' href='https://github.com/jmorganca/ollama'>
            Ollama
          </a>{' '}
12
13
14
15
          is a tool for running large language models. The latest version is available for download{' '}
          <a className='underline' href='https://github.com/jmorganca/ollama/releases/latest'>
            here.
          </a>
Jeffrey Morgan's avatar
Jeffrey Morgan committed
16
17
18
19
20
21
22
23
24
25
26
27
28
        </p>
      </section>
      <section className='my-4'>
        <h2 className='mb-4 text-lg'>Example models you can try running:</h2>
        {models.map(m => (
          <div className='my-2 grid font-mono' key={m.name}>
            <code className='py-0.5'>ollama run {m.name}</code>
          </div>
        ))}
      </section>
    </main>
  )
}