fuzzrnet / fuzzr Goto Github PK
View Code? Open in Web Editor NEWP2P platform for publishing content, self-hosting, decentralized curation, and more.
Home Page: https://fuzzr.net
License: The Unlicense
P2P platform for publishing content, self-hosting, decentralized curation, and more.
Home Page: https://fuzzr.net
License: The Unlicense
Posts vs Content:
A post can be editable, and is signed by you.
A piece of content is immutable. It can be copied and signed by someone else, also.
Your client can confirm if someone's content was posted before or after the content of others through looking for a publish record on a blockchain.
Add a separate page to the app that is for installing dependencies.
General tracking issue for a video player backend, likely using libmpv, as mentioned here:
iced-rs/iced#468
On build and run, I get:
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
########### snip #####################
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load default config file
Desktop (please complete any relevant information, or leave this section out if not applicable):
I don't have time to put into configuring Clippy, but sometimes it's nice for ensuring automated code quality.
All Toolbar buttons may look better if they were all the same size. Uniform to the largest button
For ipfs-embed
@kn0wmad mentioned "Not sure if a bug or a feature, but there is currently a 1mb limit on image upload."
Can confirm, this is an issue. Displaying images in general takes a second, also, but that's a performance issue for later.
This can be used to chunk up files:
https://docs.rs/ipld-collections/0.3.0/ipld_collections/list/index.html
Develop a means to manage long-running asynchronous tasks in one place
Add basic welcome message
For IPFS HTTP API
Make this function and look good
This finishes:
hidden
vec should be displayed by default, but disabledOn the toolbar buttons, if there are pending / unviewed / new items, display a number, or at least, an indicator (* or +) to the right of the toolbar text.
Resets after the view page is highlighted. If zero, the indicator is absent.
Integration of progress bar into the Toolbar (when one is in use, otherwise keep spacer column).
"Processing... ...Processing... ...Processing"
Only work on this if you have no other things to work on. It'll be really nice to have when we go to show off our work, but it's more impressive that we have actual features.
This the main issue for coordinating work on the Installer.
After it looks nice with static values, make it work, and then replace the static values: #26
Rename master branch to main and change it to the default branch in GitHub settings
error[E0658]: `while` is not allowed in a `const fn`
--> /home/box/.cargo/registry/src/github.com-1ecc6299db9ec823/bs58-0.4.0/src/alphabet.rs:107:9
|
107 | / while i < encode.len() {
108 | | if base[i] >= 128 {
109 | | return Err(Error::NonAsciiCharacter { index: i });
110 | | }
... |
120 | | i += 1;
121 | | }
| |_________^
|
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
error[E0658]: `if` is not allowed in a `const fn`
--> /home/box/.cargo/registry/src/github.com-1ecc6299db9ec823/bs58-0.4.0/src/alphabet.rs:108:13
|
108 | / if base[i] >= 128 {
109 | | return Err(Error::NonAsciiCharacter { index: i });
110 | | }
| |_____________^
|
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
error[E0658]: `if` is not allowed in a `const fn`
--> /home/box/.cargo/registry/src/github.com-1ecc6299db9ec823/bs58-0.4.0/src/alphabet.rs:111:13
|
111 | / if decode[base[i] as usize] != 0xFF {
112 | | return Err(Error::DuplicateCharacter {
113 | | character: base[i] as char,
114 | | first: decode[base[i] as usize] as usize,
115 | | second: i,
116 | | });
117 | | }
| |_____________^
|
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
error[E0658]: `match` is not allowed in a `const fn`
--> /home/box/.cargo/registry/src/github.com-1ecc6299db9ec823/bs58-0.4.0/src/alphabet.rs:156:12
|
156 | [][match result {
| ____________^
157 | | Ok(alphabet) => return alphabet,
158 | | Err(_) => 0,
159 | | }]
| |_________^
|
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
Compiling void v1.0.2
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `bs58`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Create an iced subscription that can be used to download files to a specific location.
Running https://github.com/FuzzrNet/Fuzzr/releases/tag/v0.0.3-alpha on Ubuntu 20.04LTS yields:
./fuzzr-0.0.3-alpha: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.32' not found (required by ./fuzzr-0.0.3-alpha)
This is due to glibc version in 20.04 not being up to date:
https://unix.stackexchange.com/questions/628021/glibc-2-32-not-found
it seems you are using Ubuntu 20.04. To get GLIBC_2.32 you would
need to use Ubuntu 20.10 or another operating system that offers that version.
Trying to upgrade glibc on your existing system will likely lead to many problems.
Also, include your UI mockup picture
I've been meaning to post this, and I'm not sure how much time I'll have for this, so here's what I had planned:
I haven't really had any time for Fuzzr and that makes me a little grumpy, but... Sometimes work is work.
On publish page:
Considering making one of our first features a web server and locally-hosted blogging platforms.
The intention would be to join with others in sharing each other's content, to ensure uptime. To do this, a "trusted ring architecture" would be established.
A simple uptime assurance strategy that would require trusting a peer with privileged information (not ideal):
0.1
0.1.1
0.2
Anyway, comments and thoughts on this idea are welcome. This approach might not require IPFS, remarkably enough. Just ZeroMQ, Warp server, dyanmic DNS requests on the backend, and a Rust-native crypto system capable of hashing, signatures, and encryption, some of which will need to happen in WASM clients.
Similar to the logic that was implemented in the earlier project (fuzzr-old, it's still around, just hidden, it's only for temporary reference).
See: https://github.com/hecrj/iced/tree/0.2/examples/download_progress
This will need to be implemented for making an install page and a subscription for downloads.
Downloads and extracts to an /bin
directory (in the root of the project, NOT the file system), just like we did it here:
(Note, this is a private repo, and will be removed once it's no longer useful.)
On build an run, it takes over 50 seconds to have the GUI window open. This is more than the first run, but on every attempt.
CPU/RAM usage not a limiting factor AFAIK.
Expected behavior
Startup in under a second
Desktop (please complete any relevant information, or leave this section out if not applicable):
Additional context
The https://cryptowat.ch/apps/desktop app opens in under a second on the same machine.
Ideally this will help solve #82 , and make everyone's life simpler!
Style the button on the page selector for the page that you're currently on differently so that the user knows what page they're on easily.
Management of daemons and configuration and execution management of other large external dependencies.
We're still stuck on tokio 0.2 due to ipfs_http_api and iced both using the older version, so reference the docs for that version, as found here:
https://docs.rs/tokio/0.2.23/tokio/process/struct.Command.html
We'll have a separate feature issue for xmrig.
If this does not work, figure out why, and brainstorm strategies to fix.
Add a tuple to allow for user-generated and other custom themes. Ability to set foreground and background as desired. RGB triple.
Possible targets:
Also:
At some point investigate platform-specific integration testing.
In Publish and Content Page only, to help facilitate development for #14
Drag and Drop only for now.
I happened to be testing an upload with a white image that had a transparent background. At least in light mode, this obviously was invisible. Not sure a possible solution at the moment, and it's a very niche case, but I want to open this as a reminder to myself to sort it out at some point
Understand layout and formatting principles and protocols in iced and use them to begin formulating a simple UI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.