Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Gofi a node base programming system

gofi is my personal experiment at building a flow/node base programming system inspired by apache nifi Note The system is very expermental, I am no way near a go expert so many things done in this project could be done in many better ways.


You can see a basic demo here In the demo you can see 3 nodes. 1 that generates random data. The second using GRPC sends it to a jypter notebook to calculate the factors. The last node then prints it out


gofi screenshot

gofi screenshot

gofi screenshot

The features that this currently supports:

  • Leader election using ectd. The leader can then orchestrate running processes agross several worker nodes. New nodes can be dynamically added to the custer and processes not currently running will be scheduled to run to the new nodes. If a node dies their work should move onto the running nodes.
  • Ui: Custom UI that allows you to add new proccess. Ui can be found here

Future work I like to add to the project:

  • Testing Both unit and integration
  • CI/CD
  • New workers can have different types of jobs. Eg a dedicated ML worker
  • GRPC to communicate with other languages / Lecacy code
  • Plugins support ?


This project uses the following core libaraies/services. All is likely to change if something better can be found

  • Badgerdb for K/V data store. Used for local data (such as the graph storage)
  • Ectd distributed K/V system. Currenltly used for leader election
  • NSQ realtime distributed messaging platform (kafka esq but all in go). Core for how messages go between processes and workers chosed


  • Graph: A list of nodes and the connections between nodes.
  • Node: A singular process contains the paramaters of that process and metadata. metadata will inculde things like x,y position in the ui
  • Connection: Descripes what the output from one node feeds into
  • Proccess: Unit of work that gets scheduled on a worker. Uses the data in the nodes as well as the connection information to work out the topics to send data to or listen to. Topic: A stream of data in NSQ.
  • Pipeline: Object that does the work and is what the process will create. There are different types of pipelines. The most basic is the source pipeline that will just send a test message once a second. Or the sink pipeline that will just print to std out any data on the topic.
  • Worker, A server that will run the processes.


Gofi a node base programming system



No releases published


No packages published