Giter Club home page Giter Club logo

fextify's Introduction

Fextify

A simple text editor written in Tauri, inspired by Obsidian.

This is a prototype, not a fully polished version.

How to run?

Windows

Run the fextify_[version]_x64_en-US.msi msi installer or run the fextify_[version]_x64-setup.exe installer included in the releases section.

GNU/Linux

Debian and/or Ubuntu

Install the .deb version of the package from the releases section.

AppImage and raw linux

For any other GNU/Linux distribution you can use the .AppImage or run the raw linux version from the the releases section/.

Note: You might need to make them executable by running chmod +x fextify.AppImage or chmod +x fextify-linux.

Manual compilation

For manual compilation run npm run tauri build -- --target x86_64-pc-windows-msvc on Windows, or npm run tauri build on GNU/Linux.

NOTE: if you run into any compilation error you can always debug the error with npm run tauri build --verbose.

On first startup

  1. Run the fextify.exe included in this folder. (or run npm run tauri build -- --target x86_64-pc-windows-msvc to compile)
  2. Press CTRL + P to open the command pallet. It will give you a good idea of what's going on. Otherwise, explore!

Themes

image

Premade

You can press CTRL + ALT + S to open the Theme Selector.

Creating

You can duplicate the src/themes/default.css and modify its colors. We recommend you import the theme automatically on restart by adding <link rel="stylesheet" href="themes/my_theme.css" /> in src/index.html and use npm run tauri dev to have the application reset on save.

Publishing

You can open a pull request to add your theme in /src/themes. We will add it if it's good.

Alternatively, you can join our Discord server and post it on the fextify-themes forum!

Known bugs

  1. Changing the title of any file to a duplicate causes a panic & config.json to mess up. For the time being, avoid naming files the same. In case this happens, nuke config.json by emptying all arrays & restart the software.

fextify's People

Contributors

face-hh avatar memergamer avatar polygons1 avatar sprechender avatar supercoolspy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fextify's Issues

License

In the United States (where I somewhat understand copyright law) the author has full control over the code. As it is explicitly stated in the README it is for people to run and build the code but not edit it. In this instance the author has given permission to use the exe file and build the project with npm and nothing else.

Also because there is no license if the code causes damage the author may be held responsible.

I personally prefer licenses like MIY but any other FOSS license will do such as MPL, GPL, and BSD

Releases

Place releases in the Github releases section and not in a separate directory

Feature request: Plugin API

A plugin api with which plugins can be created by the community. For the beginning, functions similar to a Minecraft resource pack would be sufficient. e.g. adding files with translations for different languages, files that implement code coloring for certain file types, etc. This would also make it easier for the community to take over tasks such as translating or code coloring.

Errors on change theme

Unhandled Promise Rejection: ReferenceError: Can't find variable: animateDiv (utils.js line 40)
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'el.prop') (main.js line 155)

Feature request: basic HTML export from Markdown

so consider this:

Neocities is a spiritual revival of Geocities. people post their websites in their own little subdomains. i love it, and i wanna keep my own public little space there.

"What's up with that related to this project?"

i hate writing html and css. i just wanna have it easier on me to just have a page with some plain basic simple to the point vapt vupt html tagging and some plain basic simple to the point vapt vupt css template for text to have some plain basic sim- markdown formatting with my background image and text background (scrolling tiled image of course).

this project would be perfect for having some basic html exporting for as long as its minimal like this,

...optionally with a basic templating for css because why not

also if you could make it more straightforward to do cargo install --git <this repo> on Linux that would be great. thank you ❤️

Error on start

thread 'main' panicked at src/main.rs:184:48:
called Option::unwrap() on a None value
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
/bin/bash: line 1: 7076 Abort trap: 6 cargo run

Quick question

do you need this script?

<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script>

if yes, change the // to https:// because the protocol is tauri://

(I am asking because there is an error in the console)

Export/save in \users\user\documents

for now, files are savec in md and in %APPDATA%/Fextify/Data/data. can we save that somewhere else like in C://users/user1/documents ? That would be easier-

Duplicate files bug

Hi!
I had an great idea, create 200 new files but when I would delete files, I got this bug, like if I had duplicate file.
image

BUG: Deleting `•` in list causes application to not respond

How to recreate this situation:

  • First focus on body (where you can add list)
  • Type - and start writing something
  • then try to delete “•” that pressing in the body by pressing delete key
    image
    *note: Sometimes it works sometimes it won't

And sometime the body gets stuck(doesn't clear) while creating new file.

image
*note: I am hitting C-n but the body is not clearing

Fextify v1.1.5 not launching

whenever i launch the exe on windows it gives me this error: the code execution cannot proceed because WebView2Loader.dll was not found. previous version work for me

bug(main): Rename failed, attempted creation successful.

So there is a path system, but it uses the C drive, which is not doable on mac. This could be done by getting the system document folder, but idk in rust.

lazy_static! {
    static ref PATH: Mutex<String> = Mutex::new("C:/Users/User/Documents/GitHub/text-editor/Folder".to_string());
}

Use of ESC to close Command Palette

I liked the end product of the code. It is good apart from closing the command prompt.

Humble suggestion to make the whole frontend in the Rust as well

Themes cannot close

when pressig ctrl+alt+s, themes dialog box opens, but cannot be closed. why not closing it when clicking in the zone outside the box

Rewrite in C++ so we can rewrite in rust.

Normally this is the point where someone says

Rewrite in Rust so it can be blazingly fast and safe!!

But it's already written in Rust, we can't rewrite it in Rust. Therefore, I am proposing we rewrite it in C++, so we can then rewrite it in Rust.

When this issue gets cleared I shall begin a C++ rewrite

Word Count Issue

When I enter some text like:
This is some text

The word count says 4 words which is correct. This works but if I enter this text:
This most likely won't work

The word count says 6 words which isn't correct! It should say 5 words. I recommend making it count words based on spaces, not special characters.

Feature Request: Installer

An installer that installs Fextify in the program folder and "registers" it as an app (create a link in the Start Menu folder for windows). It would also be practical if the installer could also be used for updating. (the installer could download new versions directly from github, and also automatically recognize a new version through the commit hash). It would also be handy if a message was displayed in fextify when a new version is available. (this can be found out by the commit hash as mentioned before. The current commit hash is simply saved in a file, and when checking, the saved one is compared with the current one from github).

Translated with www.DeepL.com/Translator (free version)

it crash when I try to open

I changed the path in the main.rs file but it crash when I try to open (also, it will be good if you improve it to automatically create a path in our system). In this way, you can give us executable file

Fratture request: css loader

Make a custom CSS loader so we can make custom themes that we can easly share with other comunity members (also you could make a category for the chats about your projects on your Ds server)

Everything that need to be fixed in my opinion

  1. Cannot exit command pallet
  2. Too dark
  3. Files and folders are missing
  4. CLI Support
  5. Syntax highlighting
  6. Move to left
  7. Add tabs on top
  8. change use std::{fs}; to use std::fs; in main.rs

Be ready for a PR

Edit: changed Text to Syntax in 5
Edit 2: edited my edit and added spaces for the PR line

Feature request: localization support

i wanna help localize this to portuguese, so i wanted to know if there's any instructions for adding an option to have the software in a new language.

i'm assuming it doesn't have anything planned on that right now so this is written as a feature request

if this does become a planned feature though, watch out for the details to also give right-to-left support.

thank you for making this exist in the first place ❤️

Feature Request: Open working directory

I think we should add a functionality to choose a working directory where the users can create new files automatically instead of spamming the current config folder.
Of course we need to copy the config.json to this folder when we choose it, but it might be helpful.
It should be similar to Obisidian vaults.

(I can't guarantee but if I will have time for this feature I will start working on this, but I tought others might be interested in this)

Feature Request: Open with

Support of the function "Open file with" from e.g. the windows context menu. When the program is started, it only needs to be checked whether the program was started with a parameter, and if so, it is checked whether the parameter is a valid file path. if this is the case, the file from the file path is opened when the program is started.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.