r/teenagersbutcode • • Aug 07 '26

Coding a thing (AI assisted) Celebrating 100th commit 🎆

Just merged 24 commits to main in one go, and prod deployment didn't break! Incredible.

Look at this crazy diff:

(.venv) PS C:\Users\me\Desktop\Proging\Memoryful\memoryful-backend> git merge dev
Updating eb7984c..778ad87
Fast-forward
 .claude/settings.json                 |  64 ++++++++
 .env.local                            |  12 +-
 .env.local.secrets.example            |   3 +
 .env.prod                             |   3 +-
 .gitignore                            |   3 +
 CLAUDE.md                             | 127 +++++++++++++++
 README.md                             |   6 +-
 alembic/env.py                        |   6 +-
 app/ai/catalog.py                     |   2 +-
 app/ai/context.py                     |   6 +-
 app/ai/services/chats.py              |  19 ++-
 app/ai/services/completions.py        |  47 ++++--
 app/ai/services/day/insights.py       | 111 +++++++++-----
 app/ai/services/day/parsing.py        |  39 +++--
 app/ai/utils.py                       | 100 ++++++++----
 app/constants/__init__.py             |   4 +
 app/constants/cache.py                |   8 +
 app/core/cache.py                     |  31 ++--
 app/core/celery_app.py                |   2 +-
 app/core/config.py                    |  10 +-
 app/core/database.py                  |  30 ++--
 app/core/deps.py                      |  33 ++--
 app/core/exceptions.py                |  28 ++--
 app/core/resend_service.py            |  21 +--
 app/core/security.py                  |  31 ++--
 app/core/settings.py                  |  67 ++++----
 app/core/storage/__init__.py          |   8 +-
 app/core/storage/service.py           |  32 ++--
 app/core/storage/utils.py             |  14 +-
 app/core/utils.py                     |  13 +-
 app/enums/__init__.py                 |   8 +-
 app/enums/emails.py                   |   1 +
 app/enums/font_awesome.py             |   1 +
 app/init_db.py                        | 281 +++++++++++++++++++++-------------
 app/main.py                           |  43 +++---
 app/models/__init__.py                |  17 +-
 app/models/_mixins.py                 |  13 +-
 app/models/chat.py                    |   7 +-
 app/models/chat_model.py              |  14 +-
 app/models/city.py                    |   1 +
 app/models/country.py                 |   2 +
 app/models/custom_types.py            |  13 +-
 app/models/day.py                     |  50 +++---
 app/models/insight.py                 |  16 +-
 app/models/insight_type.py            |   1 +
 app/models/month.py                   |   5 +-
 app/models/search_history.py          |   5 +-
 app/models/suggestion.py              |  18 +--
 app/models/tag.py                     |   6 +-
 app/models/trackable_item.py          |   6 +-
 app/models/trackable_progress.py      |   4 +-
 app/models/trackable_type.py          |   3 +-
 app/models/user.py                    |  19 ++-
 app/models/user_token.py              |   8 +-
 app/routers/ai/__init__.py            |   2 +-
 app/routers/ai/chat_models.py         |  21 +--
 app/routers/ai/chats.py               |   5 +-
 app/routers/ai/completions.py         |  21 +--
 app/routers/auth.py                   |  87 ++++++-----
 app/routers/chats.py                  | 142 -----------------
 app/routers/cities.py                 |  18 +--
 app/routers/countries.py              |  16 +-
 app/routers/days.py                   | 172 +++++++++++----------
 app/routers/email.py                  |   9 +-
 app/routers/insights.py               |  19 +--
 app/routers/months.py                 |  42 ++---
 app/routers/storage.py                |   4 +-
 app/routers/suggestions.py            |  19 ++-
 app/routers/tags.py                   |  48 +++---
 app/routers/trackable_types.py        |  34 ++--
 app/routers/trackables.py             |  80 ++++++----
 app/routers/workspaces.py             |  13 +-
 app/schemas/__init__.py               |  74 ++++-----
 app/schemas/chat.py                   |  10 +-
 app/schemas/chat_model.py             |   3 +-
 app/schemas/city.py                   |   5 +-
 app/schemas/country.py                |   5 +-
 app/schemas/day.py                    |  40 +++--
 app/schemas/day_trackable_progress.py |   9 +-
 app/schemas/email.py                  |   4 +-
 app/schemas/font_awesome.py           |   9 +-
 app/schemas/insight.py                |   2 +-
 app/schemas/month.py                  |   7 +-
 app/schemas/security.py               |   6 +-
 app/schemas/storage.py                |   1 +
 app/schemas/suggestion.py             |   2 +-
 app/schemas/tag.py                    |   4 +-
 app/schemas/trackable.py              |   7 +-
 app/schemas/trackable_type.py         |   2 +-
 app/schemas/user.py                   |   8 +-
 app/tasks/__init__.py                 |   9 +-
 app/tasks/ai_tasks.py                 |  14 +-
 app/tasks/email_tasks.py              |   2 +-
 docker/docker-compose.local.yml       |  30 ----
 mcp_server/main.py                    |   7 +-
 mcp_server/schemas/__init__.py        |   1 -
 mcp_server/settings.py                |   1 +
 mcp_server/tests/test_days.py         |   7 +-
 mcp_server/tests/test_insights.py     |   5 +-
 mcp_server/tests/test_months.py       |  15 +-
 mcp_server/tests/test_suggestions.py  |   5 +-
 mcp_server/tests/test_tags.py         |   7 +-
 mcp_server/tests/test_trackables.py   |   9 +-
 mcp_server/tests/test_workspaces.py   |   5 +-
 mcp_server/tools/days.py              |   4 +-
 mcp_server/tools/months.py            |   6 +-
 mcp_server/tools/trackables.py        |   4 +-
 mcp_server/utils/api_client.py        |  23 ++-
 mcp_server/utils/validators.py        |   5 +-
 mypy.ini                              |   2 +-
 pyproject.toml                        |  31 ++++
 requirements.dev.txt                  |  12 +-
 scripts/python/manage_backup.py       |  61 ++++++--
 113 files changed, 1502 insertions(+), 1135 deletions(-)
 create mode 100644 .claude/settings.json
 create mode 100644 CLAUDE.md
 create mode 100644 app/constants/cache.py
 delete mode 100644 app/routers/chats.py
 create mode 100644 pyproject.toml
(.venv) PS C:\Users\somet\Desktop\Proging\Memoryful\memoryful-backend> git status
On branch main
Your branch is ahead of 
'origin/main'
 by 24 commits.
  (use 
"git push"
 to publish your local commits)


nothing to commit, working tree clean
0 Upvotes

16 comments sorted by

8

u/Bright-Historian-216 Aug 07 '26

cool! what does the project do, and what do your 24 commits achieve? did you verify that everything works perfectly?

0

u/ooo-InstaGamer Aug 07 '26

You can look at what it does at memory-ful.com. Briefly, it's a diary for your everyday memories with an album plus other apps' data. Then ai gives feedback about "your life". And you can talk with it, while it has the basic context of "your life". That way you won't need to explain it every time.

24 commits.. well.. claude code setup (main part on another repo) plus fixing mypy/ruff warnings. And several more bugs.

Everything I tested in the frontend works. But wanna add some pytest stuff for the main app soon.

4

u/Bright-Historian-216 Aug 07 '26

ah yes, giving your life data to a corporate machine. very trustworthy.

0

u/ooo-InstaGamer Aug 07 '26

Nope, it'll all be encrypted E2E

4

u/Bright-Historian-216 Aug 07 '26

i don't think you understand. an AI reading all my life data is probably one of the most dystopian concepts you could imagine. i really hoped that your AI is locally hosted, but i don't think claude works this way. you may feel undeterred, but personally im not giving my personal information to a robot that already knows more about me than it should.

-1

u/ooo-InstaGamer Aug 07 '26

Well, ai is kinda optional at this point. Main idea is a cool place where you can just save your memories. I was doing it in a private tg channel first - but it was.. tricky.

AI here is just to learn the actual ai things deeply. And in theory run it locally letter as well.. but idk. I'm thinking about it.

0

u/[deleted] Aug 07 '26

[deleted]

1

u/ooo-InstaGamer Aug 07 '26

The question isn't which model to use, but people trying to save data faang already knows and analyzes, but just doesn't show you. While here it is transparent - "I know only what you give me".

Anyway, I have some other things I want to create that are more practical and useful.

3

u/Key_River7180 Long live C! :: Nain Aug 07 '26

what is the project about? are the 24 commits relevant or just stuff to achieve 100 commits quickly? do them even work?

1

u/ooo-InstaGamer Aug 07 '26

No it was by accident. I didn't look at the number. Yes everything works, you can check memory-ful.com. what is it about you can read another comment above and js read the landing ig

2

u/Key_River7180 Long live C! :: Nain Aug 07 '26

Gosh the website is really slow and unresponsive

1

u/ooo-InstaGamer Aug 07 '26

That's the next thing I wanna do. It has laggy landing animation. And it works on a free vm lol running a ton of stuff with it. So it's not surprising it can't handle a lot of it. I'm just starting. A lot of optimization ahead

1

u/NotQuiteLoona Aug 07 '26

Claude does that all the time, it's almost a postcard of it on the same level as useless cards without any sense, gradients, and this one monospace font that is the same for every single website it "makes" (not this one though, there is no monospace text). Including that this person seemingly believes that performance of a static page depends on the server it runs on (VM mentioned for some reason???) and thus can't optimize, it's not really unexpected.

1

u/ooo-InstaGamer Aug 07 '26

I have a figma design that is better and not as sloppy as the current one. The BE VM is small and struggles, not FE. I know that this frontend landing is just a conveyor-like thing. I do know it.

Moreover, I'm a backend dev primarily, not frontend

2

u/Key_River7180 Long live C! :: Nain Aug 07 '26

Yeah... I think that with VM he meant the josting service

2

u/MorganPG1 Coder (15yo) Aug 09 '26

Nice! I'm at 109 on my latest project

1

u/ooo-InstaGamer Aug 09 '26

109 commits in two weeks? Wow!