I've been enjoying CodeCrafters. No affiliation, just think it's fun. Build your own Redis, Git, Docker, or SQLite in any language.
But back to your original question, some random things that might be fun:
- A search engine (Elasticsearch?)
- A raytracer
- A LZW or GZIP compressor/decompressor
- IRC client/server
- Static blog generator (Hugo, Jekyll, etc)