Skip to content

ClemBytes/robot

Repository files navigation

🤖 Robot project

Preview of robot project

🌐 Where can I see what it does?

On my website here: robot.clembytes.fr

✍️ Where can I follow the process

On my blog here: clembytes

And more specifically the following articles: clembytes.fr/category/robot

💡 The idea

Move a little robot. But it's an excuse for working on basic programming skills. So to add more fun, I am doing it in C, using only the standard library.

Note: I am currently rewriting it in Rust and going a bit further.

📁 Project structure

  • server.c - Server program file
  • test.c - Units tests file
  • base64.c, base64.h - Base64 encoding implementation in C
  • lib_server.c, lib_server.h - Common functions for server
  • string.c, string.h - Strings implementation in C
  • integration_test.py - Integration tests in Python of server
  • Makefile - for make
  • Doxyfile - for Doxygen documentation
  • data/ - Static files (HTML, CSS, robot PNG image…)
  • data/test_parse/ - Some exemple requests for unit tests
  • docs/ - Documentation generated by Doxygen
  • old/ - Some old programs for trying things…

⚙️ Build & run

🧪 Launch tests:

make tests

🚀 Run project:

make run

Then see 127.0.0.0:8000.

📚 Documentation

Generated with Doxygen, available here.

💌 Support

You can contact me about this project or my work at clembytes@proton.me.

🗺️ Roadmap

Here is what I plan to do in the future on this project:

  • Use some JavaScript for more interactivity
  • Add possibility to write a small list of instructions to follow

📈 Project status

Actually rewriting it in Rust and going further!

About

Suffer with C: server/client, HTML/CSS, docker, CI/CD, JS…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors