GoQuiz is a straightforward quiz application that has been ported from BayuDC's quiz and completely rewritten using the Go programming language. It has been developed with a focus on simplicity, efficiency, and self-contained functionality. The front-end still the same.
The required seeder is quiz.xlsx
copy it from example here. Rename it to quiz.xlsx
then run the app with -s
flag.
- Download binary for your platform in Release page.
- Place the quiz.xlsx in the same directory as the binary, then run
First Run with seeder. This is first time only run.
Note: since version 0.2.0 the app is able to detect first time run, so when there is no config file in the directory the app will run the seeder, just put your
quiz.xlsx
in the same directory where you start the goquiz binary. Windows user can just double click, it's fine.
# unix/linux
$ ./goquiz --seed # to run the seeder, or "-s" for short. Run once only!
# windows. Open cmd in your directory where binary stored.
C:\Users\dimanda\where-you-store-binary> goquiz.exe --seed
Normal Run, where you have ran with seeder before.
# unix/linux
$ ./goquiz
# windows
goquiz.exe # or just double click from explorer.exe is fine
On the first run the app will automatically create the config goquiz.yml
. Configure it if needed.
To clean up the app, just delete the goquiz.db
file.
Build and run from Source:
go run -tags=dev .
-
Single Binary: GoQuiz is designed to be compiled into a single binary file, making it easy to distribute and run on various systems without any additional dependencies or installations.
-
No Third-Party Database: GoQuiz eliminates the need for external databases. All quiz questions and answers are stored directly within the application itself, ensuring a seamless and self-contained experience.
-
Run and Go: With GoQuiz, you can simply run the binary file and start using the application immediately. There's no need for complex setup or configuration processes.
Credit to: