one-file (1f) project is a collection of utilities and tools primarily written for console use, with text output, or using SDL 1.2 for framebuffer "gui stuff".

When individually compiled, the source is appended, either as TEXT, or ZIP, to the resulting binary. That source contains command line options to extract that source, as well as the command line used to compile said source.

There are no hard and fast rules, except "name-1f", must append source, and source must contain compile time command, and any "depends" info.

one-file (1f) is based on an original idea implemented in the late 1990's Windows app SpASM32, a self editing & self compiling 32bit windows assembler, that attached its source to itself, or a programs source code to the resulting programs compiled binary.

Either download all sources in the zip, or get the individual source files from the project homepage.

SDL coding is not bound to any windowing system.

Features

  • resulting binary contains source and instructions
  • uses a shell script to generate a skeleton source file
  • uses SDL 1.2 for frame buffer console output
  • works on any posix complient OS with a compiler
  • works on any posix complient OS with SDL 1.2
  • works on any OS with a compiler, after re-source-ing
  • SDL 1.2 only needed for graphics apps (like sdlSlide-1f)
  • SDL 1.2 needed for sdlPlay-1f (SDL media player)
  • SDL 1.2 apps work on framebuffer console or (X) Windows

Project Activity

See All Activity >

Follow one-file

one-file Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of one-file!

Additional Project Details

Intended Audience

Advanced End Users, System Administrators, Developers

User Interface

Framebuffer, Project is a templating system, Console/Terminal, Command-line, SDL

Registered

2017-02-09