Giter VIP home page Giter VIP logo

snipp.in's People

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  avatar  avatar  avatar  avatar

snipp.in's Issues

[FEATURE] Add dynamic parameters

As a user, I want to add dynamic parameters to my snippets, so I can use snippets as a template.

Example snippet:

npx create-react-app %%APP_NAME%%

Before copying the snippet, a modal window with "APP_NAME" text input is displayed. After filling the "APP_NAME", the snipped is copied with the new value.

I appreciate this feature in SnipCommand so my inspiration is from this project: https://github.com/gurayyarar/SnipCommand

[BUG] Shortcut to create a new folder doesnt work

Ctrl + Alt + N/n (Tried both) is the given shortcut key for creating a new folder, however when I press the key combination on a snippet it in inputs (ṇ/Ṇ). And outside the snippet area, it has no effect whatsoever either. I think it might possibly have something to do with the keyboard layout. I am using Indian keyboard layout, and I think this combination is occupied in it. Is there any possibility for the shortcut key to be remapped without changing the keyboard layout?

This issue was identified in Firefox 84.0.1 (64-bit), on windows version as given below:
Edition Windows 10 Home Single Language
Version 2004
Installed on ‎19-‎12-‎2020
OS build 20279.1
Experience Windows Feature Experience Pack 120.27512.10351.0

[FEATURE] Right click to create new folder/file

Hey there,

this is a question or a feature request.
From a UX/UI perspective, it might be useful to let the user right-click in the file explorer to create files/menus. Like in VSCode. Is it useful to create some sort of this feature?

Cheers and happy new year 🎆

site is down

i dont know if you noticed but the site https://snipp.in is currently down

[FEATURE] Add sorting options in the file panel

Allow the following sorting options:

  • File Name
  • Created At
  • Modified At

Personally, I create a lot of temporary files on a regular basis. Having the sorting functionality will allow to quicky identify old files and help in deleting.

[FEATURE] Allow working Offline

Since the web app doesnt need external db or an API, we can allow it to work offline with a PWA like offline intergration.

[FEATURE] Add mobile support

Hello!

Thank you for your project, looks really great, but unfortunately doesn't work well with mobile:

  1. Cannot remove changes
  2. Isn't adapted for mobile view (need to use Desktop view)
  3. Probably something else (can test more thoroughly later)

If you need help, I can contribute to have these changes 👍

[BUG] Add keybindings for shortcuts in Mac

Currently snipp.in relys more on "alt" to trigger most of its shortcuts. Since alt is not available on macs, it's be better to use control in mac devices and switch from alt to control depending on the user's OS.

[FEATURE] Improve tab replacement

Currently, all the opened file's tabs gets piled up in the top bar and becomes extremely difficult to manage after a certain time.

Need to think about an algorithm that can replace current tabs with new tabs instead of keeping them piling up. This can be implemented either by keeping a max open tabs and follow a queue approach. Or, We can replace a tab by looking at the last modified date among the opened tabs and then close which have been edited long back compared to other tabs. We can also think about of having a mechanism similar to VSCode to replace tabs if they were just opened to read.

[FEATURE] Tab Rearrangement

In addition to improvements to tab replacement as mentioned in #45 it would be cool if we could rearrange tabs like VS Code. And also to move open files to the split screen editor.

Drag and place the tabs to rearrange the tabs 😃

vscode tabs

Snipp.in currently doesn't support rearranging 😞

snipp.in tabs

[FEATURE] Minimize after copy

Add setting to minimize window after snippet is copied. So after I click on the copy button, the snippet is copied and the window is minimized.

[FEATURE] Persist the open files on refresh or reload

Currently whenever we open snipp.in, it opens the welcome screen. We can store the details of last opened files (file_id and editor_id) in LocalStorage and load them when the app opens up next time. This can also be used to save the recent files list and populate them in the welcome screen.

Permission denied error when starting docker container

Hello. I cloned to a directory and ran the two build/run commands below.

I'm running Ubuntu 18.04 and Docker 20.10.17. Let me know what other info I can provide. Thanks!

ryan@docker:~/snippin$ sudo docker run -it -p 8300:80 snipp/snipp.in .
/docker-entrypoint.sh: exec: line 38: .: Permission denied

[FEATURE] Settings Page

A settings page/Modal will be really helpful to include a couple of features

  • A dedicated page/modal to display the settings
  • Ability to change theme of the application
  • Ability to look at the storage used by the app. Can use navigator.storage.estimate() to calculate the available space
  • Ability to Export all data from the app

[BUG] Handling empty file/folder renaming

Current behavior:

  • While renaming folder without any name, the folder gets deleted even if there are files inside it.
  • While renaming file without any name, the file gets deleted even if there are contents inside it.

Expected behavior:

  • User should be shown a warning that folder/file renaming can't be empty, and the previous folder/file name should be reapplied if folder/file have contents inside else delete it.

[FEATURE] Add Keyboard shortcuts

Add keyboard shortcuts for Create New File/Folder, close active files, and delete files.

ctrl+n -> New file
ctrl+shift+n -> New folder
ctrl+w -> close active tab

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.