Giter VIP home page Giter VIP logo

florianhofer.it's Introduction

florianhofer.it - a Simple, challenging website

C/C++ CI

The name says it all: a website development repository, yes. Maybe an attempt of me, a PhD student, to show off alternative ways. There are many paths to follow to create a website; probably the hardest is using C.

In this website implementation I create html output using C coded CGI scripts for apache compatible servers. So far there is no other techique in use than standard C, client-side JS and CSS. No external libraries, no cheats. Why do it the easy way if you can have it the hard? For sure, if you can manage this, dig deep into how web servers work, you can also do it the modern - reuse oriented - way.

I will develop this in spare time - it will take YEARS - however, bare with me. Maybe something funny - slash - useful comes out of it. Or maybe it's just a thing for me and helps showing myself that I can do it.. who knows.

Directories

.
├── src			# Source files
|   ├── lib			# static library source code
|   ├── include		# header files for static library
|   └── site		# CGI script sources
├── www			# contains the public site with compiled CSS, JS and CGI files.
├── httpd.conf		# configuration for the `httpd` container on [Docker hub](https://hub.docker.com)
├── LICENSE
├── MAKEFILE
└── README.md

Other files are configutation and build files for make and CDT.

The master branch should more or less reflect what's loaded on the domain at the moment. develop is the actual running development stage and can be joyfully tried out by just running your very own Docker-container webserver. Glad do receive any feedback or suggestions. Just write me at website *at* florianhofer.it

Hope you enjoy!

Florian

florianhofer.it's People

Contributors

flhofer avatar

Watchers

James Cloos avatar  avatar

florianhofer.it's Issues

Create Tag function

create a function with ellipsis parameters to fill in requested tags.
the function should rely on global decoration parameters, i.e. could also pass values of css classes ecc.

Details to define after first prototype has been defined.

Fix code - function call, return value checks, constants

Following improvements are urgent:

  • Fix return value check of preliminary code for files.c decorator.c and display.c
  • Add constants for paths and default values such as file path roots
  • add .htaccess for all folders where user is not intended to enter
  • review imports and clean structure, migrate functions if necessary

Simple text parser

Add simple text parser to read main body from file instead of hard-coded content

Complete v0.2 preview and list elements

Final steps to complete the first running version based on simple CSV (in addition to issue #1

  • fix top description
  • fix alignments and formats of lists
  • review outer borders
  • check path partsing for linked files

Fix directroy structure www - container

Fix paths to follow the same directory schema as on the actual domain. In the container when referring to relative path .. in cgi-bin it results in /usr/local/apache2/ while on the domain it ends up in /usr/local/apache2/htdocs/ (www root)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.