Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using fortune for quotes #14

Open
curable-online opened this issue Jan 6, 2024 · 6 comments · May be fixed by #15
Open

Using fortune for quotes #14

curable-online opened this issue Jan 6, 2024 · 6 comments · May be fixed by #15
Assignees
Labels

Comments

@curable-online
Copy link

Can you provide an option that uses Fortune/Misfortune program to choose and produce quotes?

@emmiegit
Copy link
Owner

emmiegit commented Jan 8, 2024

This is an interesting idea, it will require a bit of a change to the daemon to permit it, since presently it stores all possible quotes in memory and selects from them. I'll think about it.

One consideration, from what I understand fortune is not able to select one particular quote based on a fixed index value of some kind. So it would be up to the daemon to cache the "daily" random fortune and return that for the 24 hour period. Deterministic quotes of the day would be possible.

@curable-online
Copy link
Author

Even a random quote per request is desired for some.

@emmiegit emmiegit self-assigned this Jan 23, 2024
@emmiegit
Copy link
Owner

emmiegit commented Jan 23, 2024

I've started a branch to address this issue, but it will take some time.

@curable-online
Copy link
Author

I would like to test anything if that can do any help.

@curable-online
Copy link
Author

curable-online commented Jan 25, 2024

Unfortunately, I know very little about C and C variants, I have cloned Fortune branch and will proceed compiling following your instruction on readme for how to build and test the result.

Edit: Since I don't know when it's ready for some test, I will wait for some kind of notice (Like git tags?)

@emmiegit
Copy link
Owner

The branch has been started but is not yet ready for testing.

@emmiegit emmiegit changed the title [Feature Request] Using fortune for quotes Using fortune for quotes Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants